Commit graph

32837 commits

Author SHA1 Message Date
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
Victor Stinner
370cb25307 test_os: report tests as skipped when os.statvfs() fails with ENOSYS 2013-10-12 01:33:54 +02:00
Christian Heimes
2582762b1b Issue #19209: Remove import of copyreg from the os module to speed up
interpreter startup. stat_result and statvfs_result are now hard-coded to
reside in the os module.
The patch is based on Victor Stinner's patch.
2013-10-12 01:27:08 +02:00
Christian Heimes
1a5fb4e3c1 Also test that the locale module isn't loaded during normal startup 2013-10-12 01:00:51 +02:00
Christian Heimes
bfc3a9a5c3 Issue #19205 fix 406529adf156
I forgot to hit save.
2013-10-12 00:28:17 +02:00
Christian Heimes
8c9cd5a3d4 Issue #19205: Don't import the 're' module in site and sysconfig module to
to speed up interpreter start.
2013-10-12 00:24:55 +02:00
Antoine Pitrou
fd4722cacf Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io module instead of the full locale module. 2013-10-12 00:13:50 +02:00
Antoine Pitrou
73abc527eb Fix expected checksum for new unicodedata (after full rebuild) 2013-10-11 21:40:55 +02:00
R David Murray
aaf17b33a5 #19192: Give up on time.xmlrpc.com as an xmlrpc network test.
time.xmlrpc.com has come and gone over the years, and has been gone again for
a while.  The test did test one thing that the current xmlrpc tests don't: the
use of multiple levels of attribute names in the call.  So in addition to
removing the network test, we add a test in xmlrpc of dotted name access.

There should also be a test for when dotted name access is disallowed, but
that requires more extensive test harness refactoring, and in any case was not
tested by the network test we are deleting, since it is a server-side setting.

This is a slightly simplified version of a patch by Vajrasky Kok.
2013-10-11 12:09:51 -04:00
Raymond Hettinger
1254b407ac Rename contextlib.ignored() to contextlib.ignore(). 2013-10-10 22:39:39 -07:00
Benjamin Peterson
94d08d908b upgrade unicode db to 6.3.0 (closes #19221) 2013-10-10 17:24:45 -04:00
R David Murray
78d692f98e 18764: remove the problematic 'print' alias for the PDB 'p' command.
So that it no longer shadows the print function.

Patch by Connor Osborn, doc and test changes by R. David Murray.
2013-10-10 17:23:26 -04:00
Raymond Hettinger
088cbf2d39 Issue #15805: Add contextlib.redirect_stdout() 2013-10-10 00:46:57 -07:00
Tim Peters
3d1b7a0c10 Whitespace normalization. 2013-10-08 21:29:27 -05:00
Tim Peters
e99bdb9694 Issue 19158: a rare race in BoundedSemaphore could allow .release() too often. 2013-10-08 21:12:58 -05:00
Tim Peters
7634e1cf90 Issue 19158: a rare race in BoundedSemaphore could allow .release() too often. 2013-10-08 20:55:51 -05:00
Antoine Pitrou
77e904e6a6 Issue #18948: improve SuppressCoreFiles to include Windows crash popup suppression, and use it in more tests.
Patch by Valerie Lambert and Zachary Ware.
2013-10-08 23:04:32 +02:00
Serhiy Storchaka
1322f9e2d1 Issue #18037: Do not escape '\u' and '\U' in raw strings. 2013-10-08 21:08:48 +03:00
Serhiy Storchaka
5e596769b0 Issue #18037: Do not escape '\u' and '\U' in raw strings. 2013-10-08 21:07:46 +03:00
Ethan Furman
648f860c22 Close #19156: add tests and fix for Enum helper edge cases. Patch from CliffM. 2013-10-06 17:19:54 -07:00
Victor Stinner
ab5a58d827 test_import.test_module_with_large_stack(): unload the test module
Ensure that the module is unloaded to be able to run the test more than once,
and to not leak memory.
2013-10-06 22:52:37 +02:00
Vinay Sajip
38c741c1fc Issue #19182: Fixed socket leak on exception when connecting. 2013-10-06 18:36:00 +01:00
Raymond Hettinger
d4b9f925ec Issue 14927: Remove a docstring line that is no longer applicable. 2013-10-05 22:11:16 -07:00