Benjamin Peterson [Fri, 8 Jul 2011 18:39:35 +0000 (13:39 -0500)]
add patchlevel to version string
Georg Brandl [Wed, 6 Jul 2011 05:31:38 +0000 (07:31 +0200)]
Revert
76452b892838 as per http://mail.python.org/pipermail/python-dev/2011-July/112243.html.
Ned Deily [Wed, 6 Jul 2011 02:11:15 +0000 (19:11 -0700)]
Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
OS X window manager connection in tk tests, use OS X Application Services
API calls instead.
Ned Deily [Wed, 6 Jul 2011 02:09:37 +0000 (19:09 -0700)]
Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
OS X window manager connection in tk tests, use OS X Application Services
API calls instead.
Brian Curtin [Wed, 6 Jul 2011 00:16:37 +0000 (19:16 -0500)]
Normalize whitespace for #11512 fix.
Brian Curtin [Wed, 6 Jul 2011 00:14:16 +0000 (19:14 -0500)]
Fix #11512. Add an initial test suite for the cgitb, providing 75% coverage.
Patch by Robbie Clemons (robquad), produced at the PyCon 2011 sprints.
Victor Stinner [Tue, 5 Jul 2011 20:00:25 +0000 (22:00 +0200)]
Issue #12459: time.sleep() now raises a ValueError if the sleep length is
negative, instead of an infinite sleep on Windows or raising an IOError on
Linux for example, to have the same behaviour on all platforms.
Victor Stinner [Tue, 5 Jul 2011 12:50:08 +0000 (14:50 +0200)]
(merge 3.2) Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
Victor Stinner [Tue, 5 Jul 2011 12:49:46 +0000 (14:49 +0200)]
Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
Victor Stinner [Tue, 5 Jul 2011 12:31:28 +0000 (14:31 +0200)]
(merge 3.2) Issue #12451: pydoc: html_getfile() now uses tokenize.open() to
support Python scripts using a encoding different than UTF-8 (read the coding
cookie of the script).
Victor Stinner [Tue, 5 Jul 2011 12:30:41 +0000 (14:30 +0200)]
Issue #12451: pydoc: html_getfile() now uses tokenize.open() to support Python
scripts using a encoding different than UTF-8 (read the coding cookie of the
script).
Victor Stinner [Tue, 5 Jul 2011 12:04:39 +0000 (14:04 +0200)]
(merge 3.2) Issue #12493: subprocess: communicate() handles EINTR
subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.
Victor Stinner [Tue, 5 Jul 2011 12:00:56 +0000 (14:00 +0200)]
Issue #12493: subprocess: communicate() handles EINTR
subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.
Victor Stinner [Tue, 5 Jul 2011 09:34:18 +0000 (11:34 +0200)]
(merge 3.2) Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.
Victor Stinner [Tue, 5 Jul 2011 09:31:49 +0000 (11:31 +0200)]
Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.
Benjamin Peterson [Tue, 5 Jul 2011 03:28:00 +0000 (22:28 -0500)]
merge 3.2
Benjamin Peterson [Tue, 5 Jul 2011 03:27:16 +0000 (22:27 -0500)]
start out this branch always with filename NULL
Ned Deily [Tue, 5 Jul 2011 02:11:14 +0000 (19:11 -0700)]
Issue #12497: Install test/data to prevent failures of the various codecmaps
tests.
Ned Deily [Tue, 5 Jul 2011 02:06:20 +0000 (19:06 -0700)]
Issue #12497: Install test/data to prevent failures of the various codecmaps
tests.
Ned Deily [Tue, 5 Jul 2011 00:51:48 +0000 (17:51 -0700)]
Issue #12496: Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.
Ned Deily [Tue, 5 Jul 2011 00:48:01 +0000 (17:48 -0700)]
Issue #12496: Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.
Victor Stinner [Mon, 4 Jul 2011 23:32:06 +0000 (01:32 +0200)]
Issue #12469: fix signal order check of test_signal
When signals are unblocked, pending signal ared delivered in the reverse order
of their number (also on Linux, not only on FreeBSD 6).
Don't sort signals by their number if signals were not blocked (test_signum).
Victor Stinner [Mon, 4 Jul 2011 23:15:08 +0000 (01:15 +0200)]
Issue #12469: test_signal checks wakeup signals order, except on freebsd6
On FreeBSD 6, when signals are unblocked, FreeBSD 6 delivers signals in the
reverse order of their number.
Victor Stinner [Mon, 4 Jul 2011 20:53:49 +0000 (22:53 +0200)]
Issue #12469: partial revert of
024827a9db64, freebsd6 thread initialization
* Don't create a thread at startup anymore to initialize the pthread library:
it changes the behaviour of many functions related to signal handling like
sigwait()
* Reenable test_sigtimedwait_poll() on FreeBSD 6
Senthil Kumaran [Mon, 4 Jul 2011 18:44:17 +0000 (11:44 -0700)]
merge from 3.2
Senthil Kumaran [Mon, 4 Jul 2011 18:43:51 +0000 (11:43 -0700)]
Fix whitespace nit in datetime and os rst files.
Senthil Kumaran [Mon, 4 Jul 2011 18:31:53 +0000 (11:31 -0700)]
Merge from 3.2 . Replace the term members with correct and appropriate terminology. Initial patch by Adam Woodbeck.
Senthil Kumaran [Mon, 4 Jul 2011 18:28:30 +0000 (11:28 -0700)]
issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage.
Georg Brandl [Mon, 4 Jul 2011 17:58:12 +0000 (19:58 +0200)]
Merge with 3.2.
Georg Brandl [Mon, 4 Jul 2011 17:55:22 +0000 (19:55 +0200)]
Merge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.
Victor Stinner [Mon, 4 Jul 2011 16:06:35 +0000 (18:06 +0200)]
Issue #12469: replace assertions by explicit if+raise
Victor Stinner [Mon, 4 Jul 2011 15:49:40 +0000 (17:49 +0200)]
(merge 3.2) Issue #12469: Run wakeup and pending signal tests in a subprocess
to run the test in a fresh process with only one thread and to not change
signal handling of the parent process.
Victor Stinner [Mon, 4 Jul 2011 15:35:10 +0000 (17:35 +0200)]
Issue #12469: Run "wakeup" signal tests in subprocess to run the test in a
fresh process with only one thread and to not change signal handling of the
parent process.
Victor Stinner [Mon, 4 Jul 2011 12:28:45 +0000 (14:28 +0200)]
Issue #12452: Plist and Dict are now deprecated
Replace PendingDeprecationWarning warnings by DeprecationWarning.
Victor Stinner [Mon, 4 Jul 2011 12:23:54 +0000 (14:23 +0200)]
Issue #9642: Uniformize the tests on the availability of the mbcs codec
Add a new HAVE_MBCS define.
Victor Stinner [Mon, 4 Jul 2011 11:55:40 +0000 (13:55 +0200)]
Issue #9642: Fix the definition of time.clock() on Windows
Don't unset and set againt the HAVE_CLOCK define, reorder the #if tests
instead. Fix also the definition of the timezone encoding.
Victor Stinner [Mon, 4 Jul 2011 11:48:30 +0000 (13:48 +0200)]
Issue #9642: Fix filesystem encoding initialization: use the ANSI code page on
Windows if the mbcs codec is not available, and fail with a fatal error if we
cannot get the locale encoding (if nl_langinfo(CODESET) is not available)
instead of using UTF-8.
Victor Stinner [Mon, 4 Jul 2011 09:51:21 +0000 (11:51 +0200)]
null merge 3.2
Python 3.3 has the correct fix for #12429, use pthread_sigmask().
Victor Stinner [Mon, 4 Jul 2011 09:48:17 +0000 (11:48 +0200)]
Issue #12429: Skip interrupted write tests on FreeBSD <= 7
On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
Ned Deily [Mon, 4 Jul 2011 05:27:16 +0000 (22:27 -0700)]
Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run
test_tk or test_ttk_guionly under a username that is not currently logged
in to the console windowserver (as may be the case under buildbot or ssh).
Ned Deily [Mon, 4 Jul 2011 04:56:48 +0000 (21:56 -0700)]
Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run
test_tk or test_ttk_guionly under a username that is not currently logged
in to the console windowserver (as may be the case under buildbot or ssh).
Senthil Kumaran [Mon, 4 Jul 2011 04:05:25 +0000 (21:05 -0700)]
merge from 3.2
Senthil Kumaran [Mon, 4 Jul 2011 04:03:16 +0000 (21:03 -0700)]
Fix closes issue12471 - wrong TypeError message when '%i' format spec was used.
Benjamin Peterson [Mon, 4 Jul 2011 03:19:29 +0000 (22:19 -0500)]
merge 3.2
Benjamin Peterson [Mon, 4 Jul 2011 03:18:34 +0000 (22:18 -0500)]
plug refleak
Senthil Kumaran [Mon, 4 Jul 2011 01:22:14 +0000 (18:22 -0700)]
merge from 3.2
Senthil Kumaran [Mon, 4 Jul 2011 01:21:38 +0000 (18:21 -0700)]
Fix closes issue issue12470 - check for utime for the skipUnless condition.
Victor Stinner [Mon, 4 Jul 2011 00:56:10 +0000 (02:56 +0200)]
(merge 3.2) Issue #12467: warnings: fix a race condition if a warning is
emitted at shutdown, if globals()['__file__'] is None.
Victor Stinner [Mon, 4 Jul 2011 00:43:09 +0000 (02:43 +0200)]
Issue #12467: warnings: fix a race condition if a warning is emitted at
shutdown, if globals()['__file__'] is None.
Georg Brandl [Mon, 4 Jul 2011 06:20:48 +0000 (08:20 +0200)]
Post-release steps.
Victor Stinner [Mon, 4 Jul 2011 00:43:09 +0000 (02:43 +0200)]
Issue #12467: warnings: fix a race condition if a warning is emitted at
shutdown, if globals()['__file__'] is None.
Senthil Kumaran [Mon, 4 Jul 2011 00:40:39 +0000 (17:40 -0700)]
Merge from 3.2. 'idle_formatwarning' is the correct method name.
Senthil Kumaran [Mon, 4 Jul 2011 00:39:20 +0000 (17:39 -0700)]
Fix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an incorrect arg.
Senthil Kumaran [Mon, 4 Jul 2011 00:21:44 +0000 (17:21 -0700)]
merge from 3.2
Senthil Kumaran [Mon, 4 Jul 2011 00:21:05 +0000 (17:21 -0700)]
Fix closes issue12432 - remove the unused sys from glob.py
Victor Stinner [Mon, 4 Jul 2011 00:09:44 +0000 (02:09 +0200)]
(merge 3.2) Issue #12451: pydoc: importfile() now opens the Python script in
binary mode, instead of text mode using the locale encoding, to avoid encoding
issues.
Victor Stinner [Mon, 4 Jul 2011 00:08:50 +0000 (02:08 +0200)]
Issue #12451: pydoc: importfile() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to avoid encoding issues.
Victor Stinner [Sun, 3 Jul 2011 23:47:40 +0000 (01:47 +0200)]
(merge 3.2) Issue #12451: runpy: run_path() now opens the Python script in
binary mode, instead of text mode using the locale encoding, to support other
encodings than UTF-8 (scripts using the coding cookie).
Victor Stinner [Sun, 3 Jul 2011 23:45:39 +0000 (01:45 +0200)]
Issue #12451: runpy: run_path() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to support other encodings than
UTF-8 (scripts using the coding cookie).
Victor Stinner [Sun, 3 Jul 2011 23:27:37 +0000 (01:27 +0200)]
(merge 3.2) Issue #12451: xml.dom.pulldom: parse() now opens files in binary
mode instead of the text mode (using the locale encoding) to avoid encoding
issues.
Victor Stinner [Sun, 3 Jul 2011 23:25:55 +0000 (01:25 +0200)]
Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode instead
of the text mode (using the locale encoding) to avoid encoding issues.
Benjamin Peterson [Sun, 3 Jul 2011 22:23:22 +0000 (17:23 -0500)]
this is expressed better as a for loop
Benjamin Peterson [Sun, 3 Jul 2011 22:06:32 +0000 (17:06 -0500)]
no one passes NULL here (or should anyway)
Benjamin Peterson [Sun, 3 Jul 2011 21:48:31 +0000 (16:48 -0500)]
convert generator exc state functions into static functions
Benjamin Peterson [Sun, 3 Jul 2011 21:27:41 +0000 (16:27 -0500)]
merge 3.2
Benjamin Peterson [Sun, 3 Jul 2011 21:25:11 +0000 (16:25 -0500)]
never retain a generator's caller's exception state on the generator after a yield/return
This requires some trickery to properly save the exception state if the
generator creates its own exception state.
Benjamin Peterson [Sun, 3 Jul 2011 18:50:16 +0000 (13:50 -0500)]
merge 3.2
Benjamin Peterson [Sun, 3 Jul 2011 18:49:59 +0000 (13:49 -0500)]
add '
Benjamin Peterson [Sun, 3 Jul 2011 18:48:36 +0000 (13:48 -0500)]
merge 3.2 (#12475)
Benjamin Peterson [Sun, 3 Jul 2011 18:45:33 +0000 (13:45 -0500)]
merge heads
Benjamin Peterson [Sun, 3 Jul 2011 18:44:56 +0000 (13:44 -0500)]
merge heads
Benjamin Peterson [Sun, 3 Jul 2011 18:44:00 +0000 (13:44 -0500)]
restore a generator's caller's exception state both on yield and (last) return
This prevents generator exception state from leaking into the caller.
Closes #12475.
Benjamin Peterson [Sun, 3 Jul 2011 18:32:17 +0000 (13:32 -0500)]
merge 3.2
Benjamin Peterson [Sun, 3 Jul 2011 18:31:34 +0000 (13:31 -0500)]
add 3.2.2 heading
Senthil Kumaran [Sun, 3 Jul 2011 17:23:43 +0000 (10:23 -0700)]
merge from 3.2
Georg Brandl [Sun, 3 Jul 2011 17:22:42 +0000 (19:22 +0200)]
Remove mention of medical condition from the test suite.
Senthil Kumaran [Sun, 3 Jul 2011 17:17:22 +0000 (10:17 -0700)]
reST indentation fix in sqlite3 docs. rst uses 3 space indentation.
Antoine Pitrou [Sun, 3 Jul 2011 11:17:06 +0000 (13:17 +0200)]
Followup to
51c1f2cedb96 (and issue #12456):
qsize() raises NotImplementedError on OS X, don't use it.
Georg Brandl [Sun, 3 Jul 2011 09:54:09 +0000 (11:54 +0200)]
Added tag v3.2.1rc2 for changeset
5df549718fb4
Vinay Sajip [Sun, 3 Jul 2011 09:35:41 +0000 (10:35 +0100)]
Issue #12406: Added upates for packaging's .exe files, command_template, and sysconfig.cfg.
Georg Brandl [Sun, 3 Jul 2011 07:42:43 +0000 (09:42 +0200)]
NEWS rewrap.
Georg Brandl [Sun, 3 Jul 2011 07:41:27 +0000 (09:41 +0200)]
Bump to 3.2.1rc2.
Georg Brandl [Sun, 3 Jul 2011 07:39:49 +0000 (09:39 +0200)]
Fix bad markup.
Georg Brandl [Sun, 3 Jul 2011 07:31:04 +0000 (09:31 +0200)]
Update pydoc topics.
Georg Brandl [Sun, 3 Jul 2011 07:30:42 +0000 (09:30 +0200)]
Fix target path in message.
Georg Brandl [Sun, 3 Jul 2011 07:25:32 +0000 (09:25 +0200)]
Dummy-merge configure change from 3.2 that is already in default.
Georg Brandl [Sun, 3 Jul 2011 07:23:20 +0000 (09:23 +0200)]
Regenerate configure.
R David Murray [Sun, 3 Jul 2011 01:10:44 +0000 (21:10 -0400)]
merge #12147: make send_message correctly handle Sender and Resent- headers.
R David Murray [Sun, 3 Jul 2011 01:03:19 +0000 (21:03 -0400)]
#12147: make send_message correctly handle Sender and Resent- headers.
Original patch by Nicolas Estibals. My tweaks to the patch were mostly
style/cosmetic, and adding more tests.
Antoine Pitrou [Sat, 2 Jul 2011 19:20:25 +0000 (21:20 +0200)]
Issue #12456: fix a possible hang on shutdown of a concurrent.futures.ProcessPoolExecutor.
Vinay Sajip [Sat, 2 Jul 2011 17:42:21 +0000 (18:42 +0100)]
Correct uninitialized data problem in marshal code.
Vinay Sajip [Sat, 2 Jul 2011 16:22:58 +0000 (17:22 +0100)]
Merged unused variable removal from 3.2.
Vinay Sajip [Sat, 2 Jul 2011 16:21:37 +0000 (17:21 +0100)]
Removed some unused local variables.
Vinay Sajip [Sat, 2 Jul 2011 16:19:51 +0000 (17:19 +0100)]
Removed breaking typo accidentally introduced during merge with 3.2.
Vinay Sajip [Sat, 2 Jul 2011 16:16:02 +0000 (17:16 +0100)]
Closes #12291 for 3.3 - merged fix from 3.2.
Vinay Sajip [Sat, 2 Jul 2011 15:42:47 +0000 (16:42 +0100)]
Closes #12291: Fixed bug which was found when doing multiple loads from one stream.
Éric Araujo [Sat, 2 Jul 2011 14:45:45 +0000 (16:45 +0200)]
Clean up NEWS entry and tests for shutil.disk_usage (#12442)
Benjamin Peterson [Sat, 2 Jul 2011 14:22:13 +0000 (09:22 -0500)]
fix possibily uninitialized memory usage (closes #12474)
Charles-François Natali [Sat, 2 Jul 2011 12:43:11 +0000 (14:43 +0200)]
Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is
freed by the garbage collector while the Heap lock is held.
Charles-François Natali [Sat, 2 Jul 2011 12:39:53 +0000 (14:39 +0200)]
Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is
freed by the garbage collector while the Heap lock is held.