summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Make catched exception more specific and correct a comment.Serhiy Storchaka2015-12-301-3/+3
|
* Issue #25977: Fix typos in Lib/tokenize.pyBerker Peksag2015-12-291-4/+4
| | | | Patch by John Walker.
* make recording and reporting errors and nonlocal and global directives more ↵Benjamin Peterson2015-12-291-0/+8
| | | | robust (closes #25973)
* Issue #25447: Copying the lru_cache() wrapper object now always works,Serhiy Storchaka2015-12-281-2/+12
| | | | | independedly from the type of the wrapped object (by returning the original object unchanged).
* Closes #25685: Made SocketHandler emission more efficient.Vinay Sajip2015-12-261-0/+2
|
* Issue #22995: Instances of extension types with a state that aren'tSerhiy Storchaka2015-12-252-0/+26
| | | | | | subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview.
* Issue #25860: Fixed test failure caused by inconsistency of os.walk() andSerhiy Storchaka2015-12-221-0/+2
| | | | os.fwalk() parameter names.
* Issue #25860: os.fwalk() no longer skips remaining directories when error ↵Serhiy Storchaka2015-12-222-12/+21
| | | | | | occurs. Original patch by Samson Lee.
* Issue #25914: Fixed and simplified OrderedDict.__sizeof__.Serhiy Storchaka2015-12-221-0/+32
|
* Issue #25902: Fixed various refcount issues in ElementTree iteration.Serhiy Storchaka2015-12-212-4/+57
|
* Issue #25766: Special method __bytes__() now works in str subclasses.Serhiy Storchaka2015-12-201-0/+6
|
* Fixed sizeof tests for dict and type (they were passed by accident).Serhiy Storchaka2015-12-201-11/+22
| | | | Added tests for dict views iterators.
* Don't create non-needed file.Serhiy Storchaka2015-12-201-5/+0
|
* Use correct PyGC_Head size in tests for issue #25421.Serhiy Storchaka2015-12-191-1/+1
|
* Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.Serhiy Storchaka2015-12-191-0/+30
| | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
* Merge with 3.4Terry Jan Reedy2015-12-181-1/+1
|\
| * Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION ↵Terry Jan Reedy2015-12-181-1/+1
| | | | | | | | MARK.
| * Issue #25809: Skip testing platform-dependent French thousands separatorMartin Panter2015-12-121-1/+3
| |
* | Issue #25899: Converted non-ASCII characters in docstrings and manpageSerhiy Storchaka2015-12-181-1/+1
| | | | | | | | to ASCII replacements. Original patch by Chris Angelico.
* | Fix a couple of typos in code commentsMartin Panter2015-12-172-2/+2
| |
* | Merge 3.4Yury Selivanov2015-12-171-0/+4
|\ \ | |/
| * asyncio/tests: Fix a ResourceWarning due to unclosed loopYury Selivanov2015-12-171-0/+4
| |
* | Merge 3.4Yury Selivanov2015-12-171-18/+29
|\ \ | |/
| * asyncio/tests: Fix ResourceWarnings related to unclosed transportsYury Selivanov2015-12-171-18/+29
| |
* | Merge 3.4Yury Selivanov2015-12-172-13/+18
|\ \ | |/
| * asyncio/tests: Fix some ResourceWarningsYury Selivanov2015-12-172-13/+18
| |
* | Merge 3.4Yury Selivanov2015-12-171-1/+1
|\ \ | |/
| * asyncio/tests: Fix deprecation warningYury Selivanov2015-12-171-1/+1
| |
* | Merge 3.4Yury Selivanov2015-12-171-1/+1
|\ \ | |/
| * Normalize whitespaceYury Selivanov2015-12-171-1/+1
| |
* | Merge 3.4Yury Selivanov2015-12-177-68/+284
|\ \ | |/
| * asyncio: Skip getaddrinfo if host is already resolved.Yury Selivanov2015-12-177-68/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Issue #23788: Merge redundant test_bad_address() into test_urllibnetMartin Panter2015-12-162-35/+20
| | | | | | | | | | | | | | 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.
* | * Re-fix issue #19284: Don't generate the no-op -R command lineGregory P. Smith2015-12-143-7/+16
|\ \ | |/ | | | | | | | | | | | | 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.
| * Re-fix issue #19284: Don't generate the no-op -R command lineGregory P. Smith2015-12-141-3/+0
| | | | | | | | | | | | 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.
| * Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seedGregory P. Smith2015-12-141-3/+15
| | | | | | | | due to test_hash_randomization expecting a different seed per process.
| * assert_python_ok docstring typo fix.Gregory P. Smith2015-12-141-1/+1
| |
* | Sync asyncio with upstream git repo (conditional import in test_pep492.py).Guido van Rossum2015-12-131-1/+4
| |
* | Issue #19771: Omit irrelevant message if package could not be initializedMartin Panter2015-12-122-0/+15
| |
* | Issue #25809: Skip testing platform-dependent French thousands separatorMartin Panter2015-12-121-1/+3
| |
* | Issue #25755: Move PropertyWritableDoc into the test caseBerker Peksag2015-12-111-7/+7
| | | | | | | | | | | | | | | | 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)
* | Merge 3.4Yury Selivanov2015-12-112-1/+22
|\ \ | |/
| * asyncio: Make Tasks check if Futures are attached to the same event loopYury Selivanov2015-12-112-1/+22
| | | | | | | | See https://github.com/python/asyncio/pull/303 for details
* | Merge 3.4Yury Selivanov2015-12-112-2/+5
|\ \ | |/
| * asyncio: Sync with githubYury Selivanov2015-12-112-2/+5
| |
| * Remove x permissions from Lib/test/test_script_helper.pydoko@ubuntu.com2015-12-071-0/+0
| |
| * Rebuilt pydoc topics for 3.4.4rc1.Larry Hastings2015-12-061-15/+15
| |
* | Issue #25764: Skip fork failure test when run as rootMartin Panter2015-12-111-2/+6
| |
* | Issue #22341: Drop Python 2 workaround and document CRC initial valueMartin Panter2015-12-114-24/+13
| | | | | | | | Also align the parameter naming in binascii to be consistent with zlib.
* | Issue #14285: Do not catch exceptions initializing any ancestor packageMartin Panter2015-12-103-4/+28
| | | | | | | | | | | | | | | | The previous fix only handled the case of the parent package of __main__ failing to initialize. Also make the "Error while finding spec" formatting slightly more appealing, and document and test that the module name must be absolute.