- 17 Dec, 2015 16 commits
-
-
Martin Panter authored
-
Martin Panter authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
getaddrinfo takes an exclusive lock on some platforms, causing clients to queue up waiting for the lock if many names are being resolved concurrently. Users may want to handle name resolution in their own code, for the sake of caching, using an alternate resolver, or to measure DNS duration separately from connection duration. Skip getaddrinfo if the "host" passed into create_connection is already resolved. See https://github.com/python/asyncio/pull/302 for details. Patch by A. Jesse Jiryu Davis.
-
- 16 Dec, 2015 1 commit
-
-
Martin Panter authored
In Python 2, these were duplicated; one for urllib.urlopen() and one for urllib2.urlopen(). The test_urllibnet version has a better precondition to avoid false failures with bad DNS, and the test_urllib2_localnet version had a more up-to-date comment and domain name.
-
- 15 Dec, 2015 3 commits
-
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
- 14 Dec, 2015 6 commits
-
-
Gregory P. Smith authored
APIs into a note that mlsd() is a nicer API if the server supports it. They aren't deprecated, they are all different server commands. Not all servers support all commands.
-
Gregory P. Smith authored
parameter to "enable" the always on sys.flags.hash_randomization in _args_from_interpreter_flags() used by multiprocessing and some unittests. This simplifies the code. * assert_python_ok docstring typo fix. * Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
parameter to "enable" the always on sys.flags.hash_randomization in _args_from_interpreter_flags() used by multiprocessing and some unittests. This simplifies the code.
-
Gregory P. Smith authored
due to test_hash_randomization expecting a different seed per process.
-
Gregory P. Smith authored
-
- 13 Dec, 2015 9 commits
-
-
Victor Stinner authored
-
R David Murray authored
-
R David Murray authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Guido van Rossum authored
-
- 12 Dec, 2015 4 commits
-
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
-
- 11 Dec, 2015 1 commit
-
-
Berker Peksag authored
This fixes a test failure in refleak mode because test_property_decorator_doc_writable no longer modifies the class in module level. Initial patch by Nan Wu and Torsten Landschoff (from issue 25757)
-