Georg Brandl
7025349aa8
merge with 3.3
2013-05-12 12:37:12 +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
2665f21866
merge with 3.3
2013-05-12 12:08:05 +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
Georg Brandl
fbb9152f92
Issue #17838 : merge with 3.3
2013-05-12 11:21:27 +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
a75a2ec64d
merge 3.3 ( #17547 )
2013-05-11 13:02:59 -05:00
Benjamin Peterson
feb5149244
-Wformat is needed by gcc 4.8 ( closes #17547 )
2013-05-11 13:00:05 -05:00
Antoine Pitrou
7ce35a1816
Issue #17237 : Fix crash in the ASCII decoder on m68k.
2013-05-11 15:59:37 +02:00
Antoine Pitrou
8b0e98426d
Issue #17237 : Fix crash in the ASCII decoder on m68k.
2013-05-11 15:58:34 +02:00
Guido van Rossum
6832c81d5d
#17927 : Keep frame from referencing cell-ified arguments.
2013-05-10 08:47:42 -07:00
Ezio Melotti
173d4109b5
#17841 : remove missing codecs aliases from the documentation. Patch by Thomas Fenzl.
2013-05-10 05:21:35 +03:00
Ezio Melotti
79ec9f0ec9
#17809 : merge with 3.3.
2013-05-09 15:24:30 +03: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
b3c5d85680
Issue #16601 : Restarting iteration over tarfile no more continues from where
...
it left off. Patch by Michael Birtwell.
2013-05-09 14:36:58 +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
Antoine Pitrou
04e70d19e7
Issue #17807 : Generators can now be finalized even when they are part of a reference cycle.
2013-05-08 18:12:35 +02:00
Antoine Pitrou
070cb3c9be
Issue #1545463 : At shutdown, defer finalization of codec modules so that stderr remains usable.
...
(should fix Windows buildbot failures on test_gc)
2013-05-08 13:23:25 +02:00
Ezio Melotti
7168879eb2
#17871 : merge with 3.3.
2013-05-07 09:47:08 +03:00
Ezio Melotti
9c939bceeb
#17871 : fix unittest.TextTestRunner signature in the docs. Patch by Yogesh Chaudhari.
2013-05-07 09:46:30 +03:00
Victor Stinner
8cecc8c262
Issue #7330 : Implement width and precision (ex: "%5.3s") for the format string
...
of PyUnicode_FromFormat() function, original patch written by Ysj Ray.
2013-05-06 23:11:54 +02:00
Antoine Pitrou
9b5d4d8cef
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:54:07 +02: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
b1294fa9f4
Issue #12181 : select module: Fix struct kevent definition on OpenBSD 64-bit
...
platforms. Patch by Federico Schwindt.
2013-05-06 21:26:05 +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
Antoine Pitrou
5f454a07a0
Issue #1545463 : Global variables caught in reference cycles are now garbage-collected at shutdown.
2013-05-06 21:15:57 +02:00
David Malcolm
1df37c657d
#17833 : merge with 3.3
2013-05-06 14:51:13 -04: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
Nick Coghlan
b39fd0c9b8
Issue #11816 : multiple improvements to the dis module
...
* get_instructions generator
* ability to redirect output to a file
* Bytecode and Instruction abstractions
Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver.
2013-05-06 23:59:20 +10:00
Richard Oudkerk
60bb107ef3
Correct issue number for c4f92b597074 in Misc/NEWS from #13813 to #13831
2013-05-06 12:24:30 +01:00
Richard Oudkerk
8575783a00
Issue #13813 : Embed stringification of remote traceback in local
...
traceback raised when pool task raises an exception.
2013-05-06 11:38:25 +01:00
Roger Serwy
53683f6f4b
#13495 : merge with 3.3.
2013-05-05 22:16:03 -05:00
Roger Serwy
9bc7b793ea
#13495 : Avoid loading the color delegator twice in IDLE.
2013-05-05 22:15:44 -05:00
Richard Oudkerk
7a3dae056d
Issue #15528 : Add weakref.finalize to support finalization using
...
weakref callbacks.
This is 2e446e87ac5b except that collections/__init__.py has been
modified to import proxy from _weakref instead of weakref. This
eliminates an import cycle which seems to cause a problem on Unix but
not Windows.
2013-05-05 23:05:00 +01:00
Antoine Pitrou
8408cea0cd
Issue #17094 : Clear stale thread states after fork().
...
Note that this is a potentially disruptive change since it may
release some system resources which would otherwise remain
perpetually alive (e.g. database connections kept in thread-local
storage).
2013-05-05 23:47:09 +02:00
Richard Oudkerk
39b17c513a
Backout 2e446e87ac5b; it breaks the unix buildbots.
2013-05-05 22:12:34 +01:00
Richard Oudkerk
f3593026de
Issue #15528 : Add weakref.finalize to support finalization using
...
weakref callbacks.
2013-05-05 20:59:04 +01:00
Roger Serwy
2faf9b0869
#17798 : merge with 3.3.
2013-05-05 11:35:15 -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
52c5f85cf9
Issue #14173 : Avoid crashing when reading a signal handler during interpreter shutdown.
2013-05-04 23:21:09 +02: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
df6931dbbc
Issue #17408 : Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
2013-05-04 20:46:19 +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
Antoine Pitrou
1a6cb30a34
Issue #5845 : Enable tab-completion in the interactive interpreter by default, thanks to a new sys.__interactivehook__.
...
(original patch by Éric Araujo)
2013-05-04 20:08:35 +02:00
Brett Cannon
4c14b5de1c
#17115,17116: Have modules initialize the __package__ and __loader__
...
attributes to None.
The long-term goal is for people to be able to rely on these
attributes existing and checking for None to see if they have been
set. Since import itself sets these attributes when a loader does not
the only instances when the attributes are None are from someone
overloading __import__() and not using a loader or someone creating a
module from scratch.
This patch also unifies module initialization. Before you could have
different attributes with default values depending on how the module
object was created. Now the only way to not get the same default set
of attributes is to circumvent initialization by calling
ModuleType.__new__() directly.
2013-05-04 13:56:58 -04:00