Georg Brandl
521ed52131
Closes issue #17732 : ignore install-directory specific options in
...
distutils.cfg when a venv is active.
2013-05-12 12:36:07 +02:00
Georg Brandl
b3bd624a55
Back out patch for #1159051 , which caused backwards compatibility problems.
2013-05-12 11:57:26 +02:00
Georg Brandl
64949fa20e
merge with 3.2
2013-05-12 11:52:22 +02:00
Georg Brandl
c502df4e3e
Issue #17915 : Fix interoperability of xml.sax with file objects returned by
...
codecs.open().
2013-05-12 11:41:12 +02:00
Georg Brandl
93b061bc3e
Issue #1159051 : Back out a fix for handling corrupted gzip files that
...
broke backwards compatibility.
2013-05-12 11:29:27 +02:00
Georg Brandl
831ae8454d
merge heads
2013-05-12 11:24:47 +02:00
Benjamin Peterson
0d4931eb9e
prevent IDLE from trying to close when sys.stdin is reassigned ( #17838 )
2013-05-11 22:24:28 -05:00
Benjamin Peterson
aa6f688bd4
only close non-None files
2013-05-11 16:29:03 -05:00
Ezio Melotti
ce82d57c74
#17809 : fix a test failure in test_expanduser when $HOME has a trailing /. Patch by Kubilay Kocak.
2013-05-09 15:19:45 +03:00
Serhiy Storchaka
263fab94ee
Issue #16601 : Restarting iteration over tarfile no more continues from where
...
it left off. Patch by Michael Birtwell.
2013-05-09 14:22:26 +03:00
Ezio Melotti
6bcc0f1b51
#17877 : skip test if the Olson's TZ database is missing.
2013-05-08 11:16:02 +03:00
Richard Oudkerk
def51ca8ea
Issue #17805 : Add AsyncResult alias for ApplyResult
2013-05-06 12:10:04 +01:00
Roger Serwy
9bc7b793ea
#13495 : Avoid loading the color delegator twice in IDLE.
2013-05-05 22:15:44 -05:00
Roger Serwy
5b1ab24751
#17798 : Allow IDLE to edit new files when specified on command line.
2013-05-05 11:34:21 -05:00
Brett Cannon
dea2ec4b1d
Fix a test to not use an assertion for something that could be
...
legitimately false.
2013-05-04 18:11:12 -04:00
Ezio Melotti
28faf03d44
#7855 : Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland.
2013-05-04 17:46:23 +03:00
Serhiy Storchaka
59115aa7c9
Issue #16316 : mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
2013-05-04 15:12:55 +03:00
Brett Cannon
9d0f772c51
Issue #15902 : Fix imp.load_module() to accept None as a file when
...
trying to load an extension module.
While at it, also add a proper unittest.skipIf() guard to another test
involving imp.load_dynamic().
2013-05-03 10:37:08 -04:00
Raymond Hettinger
b98dcc1f53
Issue #15535 : Fix pickling of named tuples.
2013-05-03 02:24:15 -07:00
Ezio Melotti
8e596a765c
#17802 : Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow.
2013-05-01 16:18:25 +03:00
Antoine Pitrou
81641d6ebc
Issue #17712 : Fix test_gdb failures on Ubuntu 13.04.
2013-05-01 00:15:44 +02:00
Benjamin Peterson
7d110042c5
raise an ImportError (rather than fatal) when __import__ is not found in __builtins__ ( closes #17867 )
2013-04-29 09:08:14 -04:00
Brett Cannon
5a4c233a9e
Issue #17358 : imp.load_source() and load_compiled() should now return
...
modules which will typically work when reloaded.
A hack is used to support these functions as their API allowed them to
pass in a file object but then operate as if import had loaded them.
Unfortunately the hack kept a reference around for the file object
passed in which would be unusable on reload since it had been closed.
The solution is to simply use the hack for the initial load but then a
proper loader on the module so that imp.reload() at least has a chance
to work.
2013-04-28 11:53:26 -04:00
Serhiy Storchaka
abac0a7744
Added base64 module tests for non-binary files.
2013-04-28 15:56:11 +03:00
Serhiy Storchaka
017523c4f4
Issue #17842 . Added base64 module tests with bytearray arguments.
...
Original patch by Kushal Das.
2013-04-28 15:53:08 +03:00
Georg Brandl
ba2f8be4c6
Issue #17843 : Remove bz2 test data that triggers antivirus warnings.
2013-05-12 11:11:51 +02:00
Georg Brandl
ce654f48aa
Issue #15535 : Fix pickling of named tuples.
2013-05-12 11:09:11 +02:00
Antoine Pitrou
e1a1674e1e
Issue #17835 : Fix test_io when the default OS pipe buffer size is larger than one million bytes.
2013-04-24 23:31:38 +02:00
Łukasz Langa
6ae466732c
clean the environment from pre-existing PYTHONWARNINGS for test_warnings
2013-04-24 01:49:52 +02:00
Łukasz Langa
20ea96f29a
backported rev 79713 from 3.4, test_recursion_limit skipped for -O0
2013-04-24 01:29:26 +02:00
Łukasz Langa
fa608186b4
fix character index in ExtendedInterpolation's exception message
2013-04-24 01:25:18 +02:00
Ronald Oussoren
326edfde56
Ensure that plistlib doesn't corrupt deeply nested datastructures
...
Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.
Fixes #17353
2013-04-23 13:47:22 +02:00
Serhiy Storchaka
81a5855a27
Issue #11714 : Use 'with' statements to assure a Semaphore releases a
...
condition variable. Original patch by Thomas Rachel.
2013-04-22 22:51:43 +03:00
Vinay Sajip
e917052e1a
Issue #17795 : Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
2013-04-22 10:07:40 +01:00
R David Murray
4140fb5211
#17065 : Use process-unique key for winreg test.
...
Patch by Jeremy Kloth.
2013-04-21 10:08:02 -04:00
Ezio Melotti
65f7a9e3c0
Remove duplicated tests.
2013-04-21 03:55:17 +03:00
Alexandre Vassalotti
1f7492c28a
Isuse #17720 : Fix APPENDS handling in the Python implementation of Unpickler
...
to correctly process the opcode when it is used on non-list objects.
2013-04-20 13:19:46 -07:00
R David Murray
3583761bcd
#17413 : make sure settrace funcs get passed exception instances for 'value'.
...
Patch by Ingrid Cheung and Brendan McLoughlin.
2013-04-19 12:56:57 -04:00
Ezio Melotti
ab5ba7918e
#17790 : test_set now works with unittest test discovery. Patch by Zachary Ware.
2013-04-19 05:58:44 +03:00
Ezio Melotti
3e4a98bd1c
#17789 : test_random now works with unittest test discovery. Patch by Zachary Ware.
2013-04-19 05:45:27 +03:00
Ezio Melotti
aaa5d1c582
#17779 : test_osx_env now works with unittest test discovery. Patch by Zachary Ware.
2013-04-19 05:38:18 +03:00
Richard Oudkerk
409c31390f
Issue #17555 : Fix ForkAwareThreadLock so that size of after fork
...
registry does not grow exponentially with generation of process.
2013-04-17 20:58:00 +01:00
Giampaolo Rodola'
b38897fc91
Fix issue #17707 : multiprocessing.Queue's get() method does not block for short timeouts.
2013-04-17 13:08:59 +02:00
Roger Serwy
643ea53c14
#14735 : Update IDLE docs to omit "Control-z on Windows".
2013-04-17 00:22:50 -05:00
Ezio Melotti
d13c008bf4
#17766 : test_iterlen now works with unittest test discovery. Patch by Zachary Ware.
2013-04-17 04:34:05 +03:00
Barry Warsaw
20c08c8041
Remove unused import.
2013-04-16 11:18:53 -04:00
Barry Warsaw
618738b921
- Issue #17012 : shutil.which() no longer fallbacks to the PATH environment
...
variable if empty path argument is specified. Patch by Serhiy Storchaka.
2013-04-16 11:05:03 -04:00
Antoine Pitrou
3034efdd29
Issue #17710 : Fix pickle raising a SystemError on bogus input.
2013-04-15 21:51:09 +02:00
Nick Coghlan
f1465f0535
Close #17731 : Clean up properly in test_import
2013-04-15 22:56:51 +10:00
R David Murray
26dfaac9ac
#17341 : Include name in re error message about invalid group name.
...
Patch by Jason Michalski.
2013-04-14 13:00:54 -04:00