Commit Graph

22044 Commits

Author SHA1 Message Date
Stefan Krah 43c336b107 Merge 3.3. 2012-11-02 14:49:02 +01:00
Stefan Krah e6996ed5d9 Issue #16145: Support legacy strings in the _csv module. 2012-11-02 14:44:20 +01:00
Andrew Svetlov d98ee9781b Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:44:45 +02:00
Andrew Svetlov e2af509829 Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:44:06 +02:00
Andrew Svetlov d183767ca4 Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:41:19 +02:00
Antoine Pitrou 787fbe9d6b Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on.
Patch by Serhiy Storchaka.
2012-11-01 20:16:07 +01:00
Antoine Pitrou 0168d3d9b1 Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on.
Patch by Serhiy Storchaka.
2012-11-01 20:15:23 +01:00
Antoine Pitrou e4ad37e50e Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on.
Patch by Serhiy Storchaka.
2012-11-01 20:13:54 +01:00
Antoine Pitrou 53d36b6912 Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
2012-11-01 20:03:30 +01:00
Antoine Pitrou 5ebe65f8cb Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
2012-11-01 19:59:21 +01:00
Antoine Pitrou 9f69e79c45 Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
2012-11-01 19:52:06 +01:00
Andrew Svetlov 1511a5a3af Merge issue #16218: Support non ascii characters in python launcher.
Patch by Serhiy Storchaka.
2012-11-01 14:52:03 +02:00
Andrew Svetlov 90c0eb28c5 Issue #16218: Support non ascii characters in python launcher.
Patch by Serhiy Storchaka.
2012-11-01 14:51:14 +02:00
Andrew Svetlov 700835a57e Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:43 +02:00
Andrew Svetlov 2e99d63e72 Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
Andrew Svetlov 42d5c41522 Change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:06 +02:00
Andrew Svetlov 73ee816d05 Merge issue #16373: Prevent infinite recursion for ABC Set class operations.
Patch by Serhiy Storchaka.
2012-11-01 13:31:31 +02:00
Andrew Svetlov b904e4256e Merge issue #16373: Prevent infinite recursion for ABC Set class operations.
Patch by Serhiy Storchaka.
2012-11-01 13:31:12 +02:00
Andrew Svetlov bcac6ad1f3 Issue #16373: Prevent infinite recursion for ABC Set class operations. 2012-11-01 13:28:54 +02:00
Vinay Sajip d06d5403de Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine Pitrou for the suggestion. 2012-10-31 23:49:19 +00:00
Victor Stinner fce2a6e0c0 Issue #15441, #15478: Reenable test_nonascii_abspath() on Windows
The real bug (issue #15478) has been fixed correctly.
2012-10-31 23:01:30 +01:00
Victor Stinner afe1706457 Issue #15478: Use source filename in OSError, not destination filename
And other fixes for Windows:

 * rename, replace and link require arguments of the same type on Windows
 * readlink only supports unicode filenames on Windows
 * os.open() specifies the filename on OSError
2012-10-31 22:47:43 +01:00
Victor Stinner a0c811e439 Issue #15478: Fix again to fix test_os on Windows 2012-10-31 22:16:38 +01:00
Andrew Svetlov 7e4f122560 Merge issue #16377: Fix bisect unittest.
Patch by Yury Selivanov.
2012-10-31 22:38:44 +02:00
Andrew Svetlov 091bf53287 Merge issue #16377: Fix bisect unittest.
Patch by Yury Selivanov.
2012-10-31 22:38:20 +02:00
Andrew Svetlov eda1f4cf07 Issue #16377: Fix bisect unittest.
Patch by Yury Selivanov.
2012-10-31 22:37:50 +02:00
Benjamin Peterson 7503e08588 merge 3.3 (#16345) 2012-10-31 14:10:04 -04:00
Benjamin Peterson d97eb0d338 merge 3.2 (#16345) 2012-10-31 14:09:11 -04:00
Benjamin Peterson d1f2cb37a2 only fast-path fromkeys() when the constructor returns a empty dict (closes #16345) 2012-10-31 14:05:55 -04:00
Mark Dickinson 9c3f5031a9 Issue #13701: Fix decorator avoidance (due to desire for Python 2.3 compatibility) in decimal module. 2012-10-31 17:53:27 +00:00
Benjamin Peterson 3cb90241fc merge 3.3 2012-10-31 00:04:42 -04:00
Benjamin Peterson 2c05a2e01b do safety checks on __qualname__ assignment 2012-10-31 00:01:15 -04:00
Benjamin Peterson 8afa7fa510 don't shadow the __qualname__ descriptor with __qualname__ in the class's __dict__ (closes #16271) 2012-10-30 23:51:03 -04:00
R David Murray bfa664c5cf #12890: fix test on windows
Patch by Stephen Tonkin.
2012-10-30 20:20:54 -04:00
R David Murray cc4bacf207 #12890: fix test on windows
Patch by Stephen Tonkin.
2012-10-30 20:20:09 -04:00
Victor Stinner bd54f0eb3a Issue #15478: Fix test_os on FreeBSD
Calling OS functions can fail with errors other than FileNotFoundError: a
FreeBSD buildbot fails for example with a PermissionError.
2012-10-31 01:12:55 +01:00
Victor Stinner f69055efba Issue #15478: Fix test_os on Windows (os.chown is missing) 2012-10-31 01:04:10 +01:00
Antoine Pitrou d4156c1693 Issue #16351: New function gc.get_stats() returns per-generation collection statistics. 2012-10-30 22:43:19 +01:00
Victor Stinner 292c835548 Issue #15478: Raising an OSError doesn't decode or encode the filename anymore
Pass the original filename argument to OSError constructor, instead of trying
to encode it to or decode it from the filesystem encoding. This change avoids
an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded
from the filesystem encoding (ANSI code page).
2012-10-30 02:17:38 +01:00
Nadeem Vawda 8ca705d549 Merge: Add test for BZ2Decompressor.decompress("") after end of stream. 2012-10-28 15:22:08 +01:00
Nadeem Vawda 6294305c2f Merge: Add test for BZ2Decompressor.decompress("") after end of stream. 2012-10-28 15:21:37 +01:00
Nadeem Vawda a1952d4120 Add test for BZ2Decompressor.decompress("") after end of stream. 2012-10-28 15:20:48 +01:00
Nadeem Vawda 84833aa7b4 Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
Patch by Serhiy Storchaka.
2012-10-28 14:52:34 +01:00
Hynek Schlawack 27ddb576f1 #1492704: Ensure and document backward compatibility of the change 2012-10-28 13:59:27 +01:00
Vinay Sajip 526417fc59 Closes #16340: Merged fix from 3.3. 2012-10-28 12:40:20 +00:00
Vinay Sajip bdd13fd098 Closes #16340: Handle exception while copying script to venv. 2012-10-28 12:39:39 +00:00
Andrew Svetlov 21b102481b merge heads 2012-10-28 14:12:50 +02:00
Andrew Svetlov 42b8932c12 Merge issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
2012-10-28 14:11:21 +02:00
Andrew Svetlov 6d50a5447a Merge issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
2012-10-28 14:11:00 +02:00
Andrew Svetlov 2ec53be2e2 Issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
2012-10-28 14:10:30 +02:00