Commit graph

31278 commits

Author SHA1 Message Date
Serhiy Storchaka
efa5a39fa5 Issue #19405: Fixed outdated comments in the _sre module. 2013-10-27 08:04:58 +02:00
Benjamin Peterson
89d8cd943b just return toplevel symbol table rather than all blocks (closes #19393) 2013-10-26 13:13:51 -04:00
Victor Stinner
2ff68dd526 Close #19339: telnetlib module is now using time.monotonic() when available to
compute timeout.
2013-10-26 09:16:29 +02:00
Ned Deily
3d2f68d242 Issue #19400: Prevent extension module build failures with Xcode 5 on OS X
10.8+ when using a universal Python that included a PPC architecture,
such as with a python.org 32-bit-only binary installer.
2013-10-25 16:03:35 -07:00
Serhiy Storchaka
7d6392c517 Issue #19288: Fixed the "in" operator of dbm.gnu databases for string
argument.  Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-25 00:06:52 +03:00
Serhiy Storchaka
9da33ab193 Issue #19287: Fixed the "in" operator of dbm.ndbm databases for string
argument.  Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-24 23:59:28 +03:00
Serhiy Storchaka
be80fc9a84 Issue #19327: Fixed the working of regular expressions with too big charset. 2013-10-24 22:02:58 +03:00
Senthil Kumaran
b82a3dc240 Increase the coverage of macurl2path. Patch by Colin Williams. 2013-10-23 21:50:56 -07:00
Antoine Pitrou
a1782e1be8 Issue #19360: fix test_site when Python is installed into $HOME/.local 2013-10-23 22:03:22 +02:00
Antoine Pitrou
d5d0bc35ad Issue #19352: Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv). 2013-10-23 19:11:29 +02:00
Antoine Pitrou
dde25c4851 Issue #19340: Fix test_sysconfig when Python is built with an empty prefix.
Patch by Sunny K.
2013-10-23 19:07:40 +02:00
Eric Snow
776b888071 [Issue #19357] Ensure module "loaded" during tests gets forgotten. 2013-10-22 23:27:42 -06:00
Tim Golden
27a856495e Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers) 2013-10-22 19:27:34 +01:00
Ezio Melotti
f076f53386 #8964: fix platform._sys_version to handle IronPython 2.6+. 2013-10-21 03:03:32 +03:00
Serhiy Storchaka
6e9e4fe97c Make test_audioop discoverable by unittest. 2013-10-20 17:24:42 +03:00
Serhiy Storchaka
c30b178cbc Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline().  Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 16:58:27 +03:00
Antoine Pitrou
0abb21884c Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
Patch by David Edelsohn.
2013-10-19 22:05:05 +02:00
Serhiy Storchaka
0e071c967c Fixed tests for issue #19279. 2013-10-19 21:14:57 +03:00
Serhiy Storchaka
35804e4c63 Issue #19279: UTF-7 decoder no more produces illegal strings. 2013-10-19 20:38:19 +03:00
Serhiy Storchaka
d3b750516f Issue #19276: Fixed the wave module on 64-bit big-endian platforms. 2013-10-17 23:04:04 +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
Antoine Pitrou
9816a1e643 Issue #14407: Fix unittest test discovery in test_concurrent_futures. 2013-10-15 23:23:32 +02:00
Richard Oudkerk
b46fe79735 Print process instead of pid. 2013-10-15 16:48:51 +01:00
Serhiy Storchaka
85812bca21 Issue #18919: Fixed resource leaks in audio tests. 2013-10-14 20:09:47 +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
d98d6cb451 Closes #19258: close WSGI server after handling request in demo code. 2013-10-14 16:52:13 +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
9e091e120b Closes #16657: fix docstring of traceback.format_tb(). 2013-10-13 23:32:14 +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
Serhiy Storchaka
1b80e63d70 Issue #18919: Unified and extended tests for audio modules: aifc, sunau and
wave.
2013-10-13 17:55:07 +03:00
Georg Brandl
c30b59fe3d Closes #17375: port new threading docstrings from 2.7. 2013-10-13 10:43:59 +02: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
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
4b5325963b Issue #19131: The aifc module now correctly reads and writes sampwidth of
compressed streams.
2013-10-12 18:21:33 +03:00
Tim Peters
7634e1cf90 Issue 19158: a rare race in BoundedSemaphore could allow .release() too often. 2013-10-08 20:55:51 -05:00
Serhiy Storchaka
5e596769b0 Issue #18037: Do not escape '\u' and '\U' in raw strings. 2013-10-08 21:07:46 +03:00
Raymond Hettinger
d4b9f925ec Issue 14927: Remove a docstring line that is no longer applicable. 2013-10-05 22:11:16 -07:00
Raymond Hettinger
8fe47c3991 Minor clean-up of function parameters in random(). 2013-10-05 21:48:21 -07:00
Ezio Melotti
4e1f3d669b #19166: use an unused var in a test. Patch by Vajrasky Kok. 2013-10-05 03:07:03 +03:00
Raymond Hettinger
cb1d96f782 Issue #18594: Make the C code more closely match the pure python code. 2013-10-04 16:51:02 -07:00
Eric Snow
5c4b4c530f [issue19152] Revert 832579dbafd6. 2013-10-03 15:03:29 -06:00
Eric Snow
af8566c847 [issue19152] Add ExtensionFileLoader.get_filename(). 2013-10-03 12:08:55 -06:00
Eric Snow
efbc475278 [issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect 2-tuples. 2013-10-03 12:08:55 -06:00
Antoine Pitrou
60b183407c Issue #19014: memoryview.cast() is now allowed on zero-length views. 2013-10-03 19:55:41 +02:00
Serhiy Storchaka
def0a4c298 Issue #18037: 2to3 now escapes '\u' and '\U' in native strings. 2013-10-03 12:08:38 +03:00
Serhiy Storchaka
51844384f4 Issue #19137: The pprint module now correctly formats instances of set and
frozenset subclasses.
2013-10-02 11:40:49 +03:00
Nick Coghlan
1a33b2f35b Close #19092: ExitStack now reraises exceptions from __exit__
Report and patch by Hrvoje Nikšić
2013-10-01 23:24:56 +10:00
Antoine Pitrou
3c678c33a7 Issue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.
2013-09-30 22:28:10 +02:00
Senthil Kumaran
600b735062 Minor code improvement. Review comment by Eric V. Smith 2013-09-29 18:59:04 -07:00
Benjamin Peterson
a5ec63b5eb remove unused imports 2013-09-29 14:49:17 -04:00