Commit Graph

81416 Commits

Author SHA1 Message Date
Georg Brandl 2bb0ac0ace merge with 3.3 2013-10-17 19:52:33 +02:00
Georg Brandl 9ff06dcfad Fix inaccurate versionchanged tag for compressobj(): most parameter were there, just got kwarg support. 2013-10-17 19:51:34 +02:00
Nick Coghlan 8f9571e70e Skip #16129 test until I debug cross-platform issues 2013-10-18 01:46:19 +10:00
Nick Coghlan 6508dc5f06 Try to debug overspecified test :( 2013-10-18 01:44:22 +10:00
Richard Oudkerk cc5c728513 Fix signal handler in test. 2013-10-17 15:22:10 +01:00
Nick Coghlan 240f86d7dd Close #19266: contextlib.ignore -> contextlib.suppress
Patch by Zero Piraeus.
2013-10-17 23:40:57 +10:00
Richard Oudkerk 1eb509a585 Merge. 2013-10-17 14:31:51 +01:00
Nick Coghlan a0f074f398 Issue #16129: Move Py_SetStandardStreamEncoding declaration 2013-10-17 23:27:17 +10:00
Richard Oudkerk 1e2f67c05f Try doing a raw test of os.fork()/os.kill(). 2013-10-17 14:24:06 +01:00
Nick Coghlan 7d270ee05d Issue #16129: Add `Py_SetStandardStreamEncoding`
This new pre-initialization API allows embedding
applications like Blender to force a particular
encoding and error handler for the standard IO streams.

Also refactors Modules/_testembed.c to let us start
testing multiple embedding scenarios.

(Initial patch by Bastien Montagne)
2013-10-17 22:35:35 +10:00
Richard Oudkerk 26f92680da Stop trying to use strace, but add a sleep before terminate(). 2013-10-17 13:56:18 +01:00
Christian Heimes 86823a52fc Issue #19275: Fix test_site on AMD64 Snow Leopard 2013-10-17 13:40:00 +02:00
Richard Oudkerk e4508eebb4 Try strace instead of gdb to see what wedged child is doing. 2013-10-17 12:10:45 +01:00
Serhiy Storchaka a3cf1aa864 Merge heads 2013-10-17 12:48:32 +03:00
Serhiy Storchaka b5f8a5e134 Issue 19276: Fix tests for wave files on big-endian platforms.
Skip tests for 24-bit wave file on big-endian platforms.
2013-10-17 12:46:53 +03:00
Serhiy Storchaka c955291a05 Issue 19276: Fix tests for wave files on big-endian platforms.
Skip tests for 24-bit wave file on big-endian platforms.
2013-10-17 12:46:00 +03:00
Richard Oudkerk d44500affe Try to print a backtrace of wedged child process in test. 2013-10-17 10:38:37 +01:00
R David Murray 3da240fd01 #18891: Complete new provisional email API.
This adds EmailMessage and, MIMEPart subclasses of Message
with new API methods, and a ContentManager class used by
the new methods.  Also a new policy setting, content_manager.

Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka,
and reflects their feedback.

I will ideally add some examples of using the new API to the
documentation before the final release.
2013-10-16 22:48:40 -04:00
Ethan Furman 1a16288197 Close #19252: better test coverage for Enum. Thanks, CliffM 2013-10-16 19:09:31 -07:00
Richard Oudkerk 1f2eaa97eb Fix import of SimpleQueue. 2013-10-16 17:06:22 +01:00
Richard Oudkerk b1694cf588 Issue #18999: Make multiprocessing use context objects.
This allows different parts of a program to use different methods for
starting processes without interfering with each other.
2013-10-16 16:41:56 +01:00
Serhiy Storchaka 3e4b52875e Add shorten to __all_ (issues #18585 and #18725). 2013-10-16 13:07:53 +03:00
Serhiy Storchaka 25324971fb Issue #18468: The re.split, re.findall, and re.sub functions and the group()
and groups() methods of match object now always return a string or a bytes
object.
2013-10-16 12:46:28 +03:00
Antoine Pitrou 355dda8d17 Issue #14407: Fix unittest test discovery in test_concurrent_futures. 2013-10-15 23:24:44 +02:00
Antoine Pitrou 9816a1e643 Issue #14407: Fix unittest test discovery in test_concurrent_futures. 2013-10-15 23:23:32 +02:00
Serhiy Storchaka acc9f3fb16 Issue #18725: The textwrap module now supports truncating multiline text. 2013-10-15 21:22:54 +03:00
Richard Oudkerk bc2bfa6b68 Merge 2013-10-15 16:49:59 +01:00
Richard Oudkerk b46fe79735 Print process instead of pid. 2013-10-15 16:48:51 +01:00
Serhiy Storchaka b6ca62acab Issue #17221: Merge 3.4.0 Alpha 1 entries before and after 3.3.1 release candidate 1. 2013-10-15 12:05:57 +03:00
Antoine Pitrou 42c25f5581 Close #19260: remove outdated comment in marshal.c 2013-10-14 20:50:32 +02:00
Serhiy Storchaka e1426b61f6 Issue #18919: Add test/audiodata to LIBSUBDIRS. 2013-10-14 21:19:24 +03:00
Serhiy Storchaka c3a9b35588 Issue #18919: Add test/audiodata to LIBSUBDIRS. 2013-10-14 21:18:50 +03:00
Serhiy Storchaka 481c6dd79f Issue #18919: Fixed resource leaks in audio tests. 2013-10-14 20:10:18 +03:00
Serhiy Storchaka 85812bca21 Issue #18919: Fixed resource leaks in audio tests. 2013-10-14 20:09:47 +03:00
Serhiy Storchaka 1f56a94a9e Issue #18919: Check warnings messages in the aifc module tests. 2013-10-14 20:06:04 +03:00
Serhiy Storchaka 4606d36d7f Issue #18919: Check warnings messages in the aifc module tests. 2013-10-14 20:05:33 +03:00
Georg Brandl fb0b5f20bd merge with 3.3 2013-10-14 16:53:07 +02:00
Georg Brandl d98d6cb451 Closes #19258: close WSGI server after handling request in demo code. 2013-10-14 16:52:13 +02:00
Georg Brandl 979541935a merge with 3.3 2013-10-14 16:08:25 +02:00
Georg Brandl 0079ffc092 Closes #17154: error out gracefully on "ignore" or "condition" without argument. 2013-10-14 16:08:15 +02:00
Serhiy Storchaka 0186721397 Issue #19189: Improved cross-references in the pickle module documentation. 2013-10-14 10:44:25 +03:00
Serhiy Storchaka 5bbbc94073 Issue #19189: Improved cross-references in the pickle module documentation. 2013-10-14 10:43:46 +03:00
Georg Brandl 142ad666dc Re #18521: move array bounds check before array access. 2013-10-14 07:01:11 +02:00
Georg Brandl 6083a4bc1c Re #18521: remove assignments of variables that are immediately reassigned. 2013-10-14 06:51:46 +02:00
Georg Brandl 782952b8fe Re #18521: fix not-quite-C syntax that works only because the PyXXX_Check are macros defined with () around them. 2013-10-14 06:46:12 +02:00
Ezio Melotti 33fc6d6040 #4965: merge with 3.3. 2013-10-14 02:59:54 +03:00
Ezio Melotti 47fd9d8e09 #4965: Implement intelligent scrolling of the sidebar in the docs. 2013-10-14 02:58:59 +03:00
Georg Brandl 64bed06036 merge with 3.3 2013-10-13 23:34:06 +02:00
Georg Brandl 9e091e120b Closes #16657: fix docstring of traceback.format_tb(). 2013-10-13 23:32:14 +02:00
Serhiy Storchaka b3e4144c95 Null merge 2013-10-13 23:30:53 +03:00