Commit Graph

32859 Commits

Author SHA1 Message Date
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 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
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
Georg Brandl 12ec29f105 Closes #17335: remove no-op assignment. 2013-10-13 22:16:48 +02:00
Antoine Pitrou 6039db8de3 Issue #18776: atexit callbacks now display their full traceback when they raise an exception. 2013-10-13 21:54:15 +02:00
Antoine Pitrou 24201d497c Issue #18776: atexit callbacks now display their full traceback when they raise an exception. 2013-10-13 21:53:13 +02:00
Georg Brandl fbc3c3c2be Closes #17730: in code.interact(), when banner="", do not print anything.
Also adds tests for banner printing.
2013-10-13 21:49:06 +02:00
Georg Brandl 6e22055ee1 pdb: modernize find_function() and add tests for it.
Closes #18714.
2013-10-13 20:51:47 +02:00
Ethan Furman 9efcb6bf38 Issue19030: commit tests for DynamicClassAttribute 2013-10-13 10:52:10 -07:00
Serhiy Storchaka eb7414fc29 Issue #18919: Unified and extended tests for audio modules: aifc, sunau and
wave.
2013-10-13 18:06:45 +03:00
Serhiy Storchaka 1b80e63d70 Issue #18919: Unified and extended tests for audio modules: aifc, sunau and
wave.
2013-10-13 17:55:07 +03:00
Mark Dickinson ed7bb488b4 Remove failing checks for explicit error messages. 2013-10-13 11:34:01 +01:00
Mark Dickinson ef8627b3f0 Issue #18659: fix test_format test that wasn't being executed. Thanks Vajrasky Kok for the patch. 2013-10-13 11:04:36 +01:00
Georg Brandl bb2ed516cc merge with 3.3 2013-10-13 10:44:04 +02:00
Georg Brandl c30b59fe3d Closes #17375: port new threading docstrings from 2.7. 2013-10-13 10:43:59 +02:00
Georg Brandl daa1fa991c Back out accidentally pushed changeset b51218966201. 2013-10-13 09:32:59 +02:00
Georg Brandl 4300019e1a Add re.fullmatch() function and regex.fullmatch() method, which anchor the
pattern at both ends of the string to match.

Patch by Matthew Barnett.
Closes #16203.
2013-10-13 09:18:45 +02:00
Ethan Furman da14920247 Close #18281: superfluous stat constants removed from tarfile 2013-10-12 18:13:02 -07:00
Christian Heimes 5703cd58ca whitespace cleanup 2013-10-13 02:27:22 +02:00
Christian Heimes 06239f62b0 merge 2013-10-13 02:22:10 +02:00
Christian Heimes bf235bd212 Issue #19218: set __name__ of _collections_abc to collections.abc in order to fix tests and keep beautiful qualified names. 2013-10-13 02:21:33 +02:00
Christian Heimes 52c5e57dbc Issue #19218: Add facade collections.abc 2013-10-13 02:04:50 +02:00
Christian Heimes f1dc3ee16d Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start 2013-10-13 02:04:20 +02:00
Christian Heimes ad9c9bb5a9 Remove import functools from re module. The re module imports functools but never uses it. 2013-10-13 02:00:09 +02:00
Richard Oudkerk 7b4a36194a Merge. 2013-10-13 00:52:21 +01:00
Richard Oudkerk 4f35079858 Make test_terminate() succeed or fail quickly.
This does not fix #19227, but should stop the Gentoo buildbot from hanging.
2013-10-13 00:49:27 +01:00
Christian Heimes e92ef13b0a Issue #18582: Add 'pbkdf2_hmac' to the hashlib module. 2013-10-13 00:52:43 +02:00
Antoine Pitrou 1164dfcb86 Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller. 2013-10-12 22:25:39 +02:00
Serhiy Storchaka e23b2d06c7 Issue #18919: If the close() method of a writer in the sunau or wave module
failed, second invocation of close() and destructor no more raise an
exception.
2013-10-12 21:36:10 +03:00
Serhiy Storchaka 4ae423ded4 Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.
2013-10-12 18:23:21 +03:00
Serhiy Storchaka 4b5325963b Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.
2013-10-12 18:21:33 +03:00
Christian Heimes f403f50378 Issue #19205: _osx_support uses the re module all over the place. Omit the test for nw. 2013-10-12 15:08:42 +02:00
Antoine Pitrou 4aa8f8e225 Fix wrong exception in _bootlocale (apparently this error condition is never triggered) 2013-10-12 15:00:44 +02:00
Victor Stinner e8785ff82a Close #18754: Run Python child processes in isolated more in the test suite. 2013-10-12 14:44:01 +02:00
Christian Heimes 179a3dbc9e Issue #19205: add debugging output for failing test on Snow Leopard 2013-10-12 12:32:21 +02:00
Christian Heimes cbf6e95de5 merge 2013-10-12 01:41:49 +02:00
Christian Heimes c1df2729ea Issue #19209: fix structseq test 2013-10-12 01:38:52 +02:00