Commit Graph

55108 Commits

Author SHA1 Message Date
Benjamin Peterson 1cffbac2cb merge 3.2 (#14752) 2012-05-08 09:22:45 -04:00
Benjamin Peterson 89a6e9a27b fix possible refleak (closes #14752) 2012-05-08 09:22:24 -04:00
Larry Hastings d3f424fe45 Merge from 3.2. Issue #14749: Add support for 'Z' to skipitem(). 2012-05-08 03:54:05 -07:00
Larry Hastings d9e4a414d7 Issue #14749: Add support for 'Z' to skipitem() in Python/getargs.c. 2012-05-08 03:51:18 -07:00
Benjamin Peterson 869b1f9070 merge 3.2 2012-05-07 22:24:05 -04:00
Benjamin Peterson 3b66623a29 remove basically bitrotted XXXs 2012-05-07 22:23:48 -04:00
Benjamin Peterson bbf83933c5 explicitly set UnsupportedOperation's module rather than relying on incorrect globals on startup (closes #14745) 2012-05-07 22:19:42 -04:00
Victor Stinner 106802547c Backout ab500b297900: the check for integer overflow is wrong
Issue #14716: Change integer overflow check in unicode_writer_prepare()
to compute the limit at compile time instead of runtime. Patch writen by Serhiy
Storchaka.
2012-05-07 23:50:05 +02:00
Mark Dickinson 79575b210f Issue #14742: Don't include DirectoryTestCase from test_unparse in test_tools until we can speed it up. 2012-05-07 22:36:43 +01:00
Antoine Pitrou 6efa50a384 Issue #14583: Fix importlib bug when a package's __init__.py would first import one of its modules then raise an error. 2012-05-07 21:41:59 +02:00
Mark Dickinson 943cab2fec Issue #14741: Merge fix from 3.2. 2012-05-07 17:25:14 +01:00
Mark Dickinson da029fb293 Issue #14741: Fix missing support for ellipsis in parser module. 2012-05-07 17:24:04 +01:00
Mark Dickinson 72f6095d4f Issue #14697: Merge fix from 3.2. 2012-05-07 16:36:33 +01:00
Mark Dickinson 11c1dee183 Issue #14697: Fix missing parser module support for set displays and set comprehensions. 2012-05-07 16:34:34 +01:00
Victor Stinner 0576f9b4cf Issue #14716: Change integer overflow check in unicode_writer_prepare()
to compute the limit at compile time instead of runtime. Patch writen by Serhiy
Storchaka.
2012-05-07 13:02:44 +02:00
Mark Dickinson cf360b9209 Issue #14701: Add missing support for 'raise ... from' in parser module. 2012-05-07 12:01:27 +01:00
Victor Stinner 202fdca133 Close #14716: str.format() now uses the new "unicode writer" API instead of the
PyAccu API. For example, it makes str.format() from 25% to 30% faster on Linux.
2012-05-07 12:47:02 +02:00
Mark Dickinson 9fad160411 Issue #14701: Merge fix from 3.2. 2012-05-07 12:03:11 +01:00
Mark Dickinson 99e2e5552a Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks in old-style string formatting. Thanks Serhiy Storchaka for report and original patch. 2012-05-07 11:20:50 +01:00
Larry Hastings 10ba07a39e Issue #14705: Added support for the new 'p' format unit to skipitem(). 2012-05-07 02:44:50 -07:00
Mark Dickinson aeb562ee5f Add John Regehr to Misc/ACKS for his help with finding integer overflows (issue #9530). 2012-05-07 10:37:37 +01:00
Mark Dickinson 44ceea9326 Issue #14695: Run Tools/parser/test_unparse.py as part of test_tools. 2012-05-07 10:27:23 +01:00
Mark Dickinson 43d6ddc80f Merge Misc/NEWS issue number fix from 3.2 2012-05-07 10:25:56 +01:00
Mark Dickinson 640335c61f Fix issue number in Misc/NEWS. 2012-05-07 10:24:02 +01:00
Richard Oudkerk d30c5d5c9d Add Misc/NEWS entry for rev b4a1d9287780 2012-05-07 00:12:02 +01:00
Nadeem Vawda 486a0451f3 Fix buildbot failures in test_lzma. 2012-05-07 00:40:57 +02:00
Nadeem Vawda bc459bb484 Rename lzma.check_is_supported() to is_check_supported() to avoid grammatical confusion. 2012-05-06 23:01:51 +02:00
Nadeem Vawda f55b329edc Add lzma.{encode,decode}_filter_properties(). 2012-05-06 23:01:27 +02:00
Georg Brandl 75d5d8c781 Merge with 3.2. 2012-05-06 21:39:59 +02:00
Georg Brandl 0958a4d63d Fix document title for Sphinx. 2012-05-06 21:39:35 +02:00
Nadeem Vawda 11328e4437 Really fix test_gzip failures on Windows. 2012-05-06 19:24:18 +02:00
Mark Dickinson fe8440aec0 Issue #14965: Bring Tools/parser/unparse.py up to date with the Python 3.3. Grammar. 2012-05-06 17:35:19 +01:00
Mark Dickinson 1b2e9444fe Issue #14965: Fix missing support for starred assignments in Tools/parser/unparse.py. 2012-05-06 17:27:39 +01:00
Richard Oudkerk 6dbca367dc Make test_multiprocessing more lenient about another timeout check 2012-05-06 16:46:36 +01:00
Richard Oudkerk 41eb85b194 Make AcquirerProxy.acquire() support timeout argument 2012-05-06 16:45:02 +01:00
Antoine Pitrou b78174c010 Fix too early decrefs. 2012-05-06 17:15:23 +02:00
Nadeem Vawda 9d9dc8eba0 Fix test_gzip failures on Windows. 2012-05-06 16:25:35 +02:00
Ezio Melotti b55d9e3e19 #14034: merge indentation fixes from 3.2. 2012-05-06 17:05:54 +03:00
Ezio Melotti 9ab3fdd8cb #14034: fix indentation. 2012-05-06 17:05:16 +03:00
Ezio Melotti 49233c4e47 Merge heads. 2012-05-06 16:55:17 +03:00
Ezio Melotti df5bedbf88 #14034: merge argparse tutorial from 3.2. 2012-05-06 16:34:43 +03:00
Nadeem Vawda 1b8a14d3f0 Separate tests for gzip.GzipFile and gzip.open. 2012-05-06 15:17:52 +02:00
Ezio Melotti 6cc7a41c2f #14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe. 2012-05-06 16:15:35 +03:00
Nadeem Vawda 7e126205e6 Closes #13989: Add support for text modes to gzip.open().
Also, add tests for gzip.open().
2012-05-06 15:04:01 +02:00
Nadeem Vawda 54c74ece28 Fix formatting of preset values for exception messages in _lzmamodule.c. 2012-05-06 13:35:47 +02:00
Vinay Sajip f1b34ee61b #12660: Skip test_gdb when run from an installed Python. 2012-05-06 12:03:05 +01:00
Vinay Sajip 73954040f6 Issue #9116: Allowed test to pass on Windows by adjusting the test condition slightly to allow for a Windows-specific error message. 2012-05-06 11:34:50 +01:00
Vinay Sajip 363712349a Closes #14729: Allowed test to pass on Windows by adjusting the test condition slightly to allow for a Windows-specific error message. 2012-05-06 11:28:46 +01:00
Georg Brandl fc7e967c48 merge with 3.2 2012-05-06 12:06:24 +02:00
Georg Brandl b4c8902a87 #13183: backport fixes to test_pdb to 3.2 branch 2012-05-06 11:50:00 +02:00