Benjamin Peterson
1e93b06007
complain about "global __class__" in a class body ( closes #17983 )
2013-05-15 16:17:25 -05:00
Georg Brandl
c032f16d18
post-release update.
2013-05-15 19:42:39 +02:00
doko@ubuntu.com
9df891ca41
- Fix typos in the multiprocessing module.
2013-05-15 18:06:56 +02:00
doko@ubuntu.com
ef535584a9
- Issue #17754 : Make ctypes.util.find_library() independent of the locale.
2013-05-15 18:02:13 +02:00
doko@ubuntu.com
dbbf4c813f
Misc/NEWS: Add 3.3.3 section and move entries made after the 3.3.2 release
...
to the new section.
2013-05-15 18:00:05 +02:00
Benjamin Peterson
e1b4cbc422
when arguments are cells clear the locals slot (backport of #17927 )
2013-05-14 22:31:26 -05:00
Barry Warsaw
d486707d2e
- Issue #17977 : The documentation for the cadefault argument's default value
...
in urllib.request.urlopen() is fixed to match the code.
2013-05-14 11:35:16 -04:00
Antoine Pitrou
7f987398b7
Issue #17968 : Fix memory leak in os.listxattr().
2013-05-13 19:46:29 +02:00
Georg Brandl
84fc4ba67e
Closes #17962 : Build with OpenSSL 1.0.1e on Windows.
2013-05-12 19:50:34 +02:00
Georg Brandl
997d05d89f
merge
2013-05-12 19:44:21 +02:00
Serhiy Storchaka
3eab6b363a
Issue #17606 : Fixed support of encoded byte strings in the XMLGenerator
...
characters() and ignorableWhitespace() methods. Original patch by Sebastian
Ortiz Vasquez.
2013-05-12 17:31:16 +03:00
Georg Brandl
88f4dd6451
bump to 3.3.2
2013-05-12 12:51:38 +02:00
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
a9417d7f0e
merge with 3.2
2013-05-12 11:51:26 +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
feb5149244
-Wformat is needed by gcc 4.8 ( closes #17547 )
2013-05-11 13:00:05 -05:00
Antoine Pitrou
8b0e98426d
Issue #17237 : Fix crash in the ASCII decoder on m68k.
2013-05-11 15:58:34 +02: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
Antoine Pitrou
a7f7deb6ed
Issue #17289 : The readline module now plays nicer with external modules or applications changing the rl_completer_word_break_characters global variable.
...
Initial patch by Bradley Froehle.
2013-05-06 21:51:03 +02:00
Charles-Francois Natali
002a77d2f7
Issue #12181 : select module: Fix struct kevent definition on OpenBSD 64-bit
...
platforms. Patch by Federico Schwindt.
2013-05-06 21:24:31 +02:00
David Malcolm
d08b210164
#17833 : fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
2013-05-06 14:47:15 -04: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
Antoine Pitrou
c8c952ce2a
Issue #14173 : Avoid crashing when reading a signal handler during interpreter shutdown.
2013-05-04 23:16:59 +02:00
Antoine Pitrou
957a23b088
Issue #17408 : Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
2013-05-04 20:45:02 +02: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
Gregory P. Smith
5d6620d9d5
fix the news entry, the description in 3.3 should be different
...
than the one merged from 3.2 to match the actual changes here.
2013-04-30 01:01:54 -07:00
Gregory P. Smith
fde108ba37
news entry
2013-04-30 00:58:24 -07:00
Gregory P. Smith
cf86d9441e
news entry
2013-04-30 00:57:18 -07:00
Benjamin Peterson
fe1b22af0a
ignore errors when trying to fetch sys.stdin.encoding ( closes #17863 )
2013-04-29 10:23:08 -04: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
a9217a42e6
Issue #17857 : Prevent build failures with pre-3.5.0 versions of sqlite3,
...
such as was shipped with Centos 5 and Mac OS X 10.4.
2013-04-28 14:10:27 +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
Serhiy Storchaka
d160b12292
Issue #17857 : Prevent build failures with pre-3.5.0 versions of sqlite3,
...
such as was shipped with Centos 5 and Mac OS X 10.4.
2013-04-28 14:10:27 +03: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
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
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
0471ac3d80
Merge.
2013-04-17 21:16:52 +01:00
Antoine Pitrou
cf8a1e51ec
- Issue #17782 : Fix undefined behaviour on platforms where ``struct timespec``'s "tv_nsec" member is not a C long.
2013-04-17 22:06:44 +02: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
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
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
Serhiy Storchaka
f2fa5fc794
Issue #17221 : Resort Misc/NEWS.
2013-04-14 18:53:39 +03:00
Victor Stinner
6d10139d70
Close #17702 : os.environ now raises KeyError with the original environment
...
variable name (str on UNIX), instead of using the encoded name (bytes on UNIX).
2013-04-14 16:35:04 +02:00
Nick Coghlan
c4e0d982f3
Close issue #16163 : handle submodules in pkgutil.iter_importers
2013-04-14 22:30:42 +10:00
Alexandre Vassalotti
8db89ca56c
Issue #16550 : Update the opcode descriptions of pickletools to use unsigned
...
integers where appropriate. Initial patch by Serhiy Storchaka.
2013-04-14 03:30:35 -07:00
Meador Inge
9a7a81195c
Issue #16804 : Fix 'python -S -m site' failure.
...
This commit fixes a bug in the 'site' module that was causing an exception
to incorrectly be thrown when running 'python -S -m site'. The problem was
that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly
initialized. The code has been changed to use 'getuserbase' and
'getusersitepackages' instead so that the initialization always happens.
2013-04-13 20:29:49 -05:00
Serhiy Storchaka
4bb17348f5
Issue #17016 : Get rid of possible pointer wraparounds and integer overflows
...
in the re module. Patch by Nickolai Zeldovich.
2013-04-13 21:15:47 +03:00
Mark Dickinson
c9734484ca
Issue #17715 : Add missing NULL Check to PyNumber_Long.
2013-04-13 17:44:44 +01:00
Andrew Svetlov
b4fd468f12
Revert changes for #13355 by request from Raymond Hettinger
2013-04-13 18:00:04 +03:00
Mark Dickinson
64aafeb4de
Issue #16447 : Fix potential segfault when setting __name__ on a class.
2013-04-13 15:26:58 +01:00
Andrew Svetlov
a2dfc35a13
Issue #13355 : Raise ValueError on random.triangular call with invalid params.
...
Initial patch by Yuriy Senko.
2013-04-12 23:21:01 +03:00
Andrew Svetlov
7b2c8bb833
Issue #16658 : add missing return to HTTPConnection.send().
...
Patch by Jeff Knupp
2013-04-12 22:49:19 +03:00
Ezio Melotti
075d87cf05
#6696 : add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney.
2013-04-12 15:42:06 +03:00
Ezio Melotti
c2ecac4787
#17692 : test_sqlite now works with unittest test discovery. Patch by Zachary Ware.
2013-04-12 14:13:47 +03:00
Roger Serwy
1eafd1076e
#17585 : Fixed IDLE regression. Now closes when using exit() or quit().
2013-04-11 19:16:44 -05:00
Ezio Melotti
3836d70ed5
#17690 : test_time now works with unittest test discovery. Patch by Zachary Ware.
2013-04-11 20:29:42 +03:00
R David Murray
5e2f593145
#14971 : Use class method name, not function.__name__, during unittest discovery.
2013-04-11 08:55:45 -04:00
Benjamin Peterson
c9314d9e08
don't run frame if it has no stack ( closes #17669 )
2013-04-10 17:00:56 -04:00
Ezio Melotti
cd514cf175
#12820 : add tests for the xml.dom.minicompat module. Patch by John Chandler and Phil Connell.
2013-04-10 19:30:11 +03:00
Senthil Kumaran
d9fbf36bbd
#17678 : Fix DeprecationWarning in the http/cookiejar.py by changing the usage
...
of get_origin_req_host() to origin_req_host.
Patch by Wei-Cheng Pan
2013-04-09 07:07:59 -07:00
Roger Serwy
0803a39561
#17657 : Show full Tk version in IDLE's about dialog.
...
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Serhiy Storchaka
a6df938fef
Close #17666 : Fix reading gzip files with an extra field.
2013-04-08 22:35:02 +03:00
Serhiy Storchaka
7e69f0085e
Close #17666 : Fix reading gzip files with an extra field.
2013-04-08 22:35:02 +03:00
Andrew Svetlov
b0f9fa7a03
Add NEWS entry for #17502 : Process DEFAULT values in mock side_effect that returns iterator.
2013-04-08 12:59:30 +03:00
Roger Serwy
7733be8f26
#17613 : Prevent traceback when removing syntax colorizer in IDLE.
2013-04-07 12:41:16 -05:00
Roger Serwy
6b2918ae75
#1207589 : Backwards-compatibility patch for right-click menu in IDLE.
2013-04-07 12:15:52 -05:00
Roger Serwy
0ef392cde7
#16887 : IDLE now accepts Cancel in tabify/untabify dialog box.
2013-04-06 20:26:53 -05:00
Serhiy Storchaka
278d03bd66
Revert a premature patch for issue #14010 (changeset aaaf36026511).
2013-04-06 22:52:34 +03:00
Benjamin Peterson
c496eda6fb
move IDLE news to its own section
2013-04-06 15:14:06 -04:00
Serhiy Storchaka
e8f706eda7
Issue #14010 : Fix a crash when iterating or deleting deeply nested filters
...
(builting and in itertools module, i.e. map(), itertools.chain(), etc).
2013-04-06 21:14:43 +03:00
Georg Brandl
cca5548159
merge with 3.3.1 release clone
2013-04-06 16:42:43 +02:00
Georg Brandl
8bc7e31529
Bump to 3.2.4.
2013-04-06 09:36:20 +02:00
Benjamin Peterson
38546ee51c
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Benjamin Peterson
7684fa8a38
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Benjamin Peterson
cf658c2833
close search and replace dialog after it is used ( closes #17625 )
2013-04-03 22:35:12 -04:00
Ezio Melotti
0f38908684
#17572 : Avoid chained exceptions while passing bad directives to time.strptime(). Initial patch by Claudiu Popa.
2013-04-04 02:09:20 +03:00