Georg Brandl [Tue, 26 Mar 2013 13:09:40 +0000 (14:09 +0100)]
NEWS: add new header for Python 3.3.2
Benjamin Peterson [Tue, 26 Mar 2013 12:57:42 +0000 (08:57 -0400)]
move to correct section
Benjamin Peterson [Tue, 26 Mar 2013 12:55:37 +0000 (08:55 -0400)]
fix variable reference to fix --enable-profiling (closes #17550)
Ezio Melotti [Tue, 26 Mar 2013 00:36:28 +0000 (02:36 +0200)]
Add versionadded for `-X faulthandler` (also fix typo and markup).
Raymond Hettinger [Sun, 24 Mar 2013 22:20:29 +0000 (15:20 -0700)]
Add missing docstrings to the collections ABCs
Martin v. Löwis [Sun, 24 Mar 2013 21:52:14 +0000 (22:52 +0100)]
Fix typo
Martin v. Löwis [Sun, 24 Mar 2013 21:45:50 +0000 (22:45 +0100)]
Issue #17425: Build with openssl 1.0.1d on Windows.
Martin v. Loewis [Sun, 24 Mar 2013 21:10:20 +0000 (22:10 +0100)]
#17425: null merge 3.2
Martin v. Loewis [Sun, 24 Mar 2013 21:03:30 +0000 (22:03 +0100)]
Issue #17425: Build with openssl 1.0.0k on Windows.
doko@ubuntu.com [Sun, 24 Mar 2013 17:46:49 +0000 (18:46 +0100)]
- Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser,
iceweasel, iceape.
Ezio Melotti [Sun, 24 Mar 2013 14:10:24 +0000 (16:10 +0200)]
#17504: remove duplicated sentence. Patch by Radu Voicilas.
Gregory P. Smith [Sat, 23 Mar 2013 23:05:36 +0000 (16:05 -0700)]
Fixes issue4653 - Correctly specify the buffer size to FormatMessageW and
correctly check for errors on two CreateFileMapping calls.
Ezio Melotti [Sat, 23 Mar 2013 21:36:23 +0000 (23:36 +0200)]
Merge test_queue clean up from 3.2.
Ezio Melotti [Sat, 23 Mar 2013 21:35:06 +0000 (23:35 +0200)]
Clean up references to threads in test_queue.
Gregory P. Smith [Sat, 23 Mar 2013 18:54:22 +0000 (11:54 -0700)]
Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
Gregory P. Smith [Sat, 23 Mar 2013 18:44:25 +0000 (11:44 -0700)]
Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
Raymond Hettinger [Sat, 23 Mar 2013 16:07:36 +0000 (09:07 -0700)]
Update collections ABC table to match the __abstractmethods__ attribute for each container.
Raymond Hettinger [Sat, 23 Mar 2013 15:21:12 +0000 (08:21 -0700)]
Issue 17447: Clarify that str.isidentifier doesn't check for reserved keywords.
Ezio Melotti [Sat, 23 Mar 2013 14:30:16 +0000 (16:30 +0200)]
#17479: test_io now works with unittest test discovery. Patch by Zachary Ware.
Raymond Hettinger [Sat, 23 Mar 2013 13:34:19 +0000 (06:34 -0700)]
Backport improved dict comparison logic
Vinay Sajip [Sat, 23 Mar 2013 11:22:00 +0000 (11:22 +0000)]
Issue #17521: Merged fix from 3.2.
Vinay Sajip [Sat, 23 Mar 2013 11:18:45 +0000 (11:18 +0000)]
Issue #17521: Corrected non-enabling of logger following two calls to fileConfig().
Vinay Sajip [Sat, 23 Mar 2013 10:59:49 +0000 (10:59 +0000)]
Merged Misc/NEWS update for #17508.
Vinay Sajip [Sat, 23 Mar 2013 10:57:47 +0000 (10:57 +0000)]
Updated Misc/NEWS with #17508.
Gregory P. Smith [Fri, 22 Mar 2013 20:49:26 +0000 (13:49 -0700)]
cleanup references to PyString_ APIs from 2.x in the 3.3 docs.
Gregory P. Smith [Fri, 22 Mar 2013 20:43:30 +0000 (13:43 -0700)]
Clean up references to the no longer existing PyString_ APIs in our docs.
Vinay Sajip [Fri, 22 Mar 2013 15:23:13 +0000 (15:23 +0000)]
Issue #17508: Merged fix from 3.2.
Vinay Sajip [Fri, 22 Mar 2013 15:19:54 +0000 (15:19 +0000)]
Issue #17508: Handled out-of-order handler configuration correctly.
Raymond Hettinger [Fri, 22 Mar 2013 14:26:18 +0000 (07:26 -0700)]
Modernize unittest example
doko@ubuntu.com [Thu, 21 Mar 2013 20:31:41 +0000 (13:31 -0700)]
- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
doko@ubuntu.com [Thu, 21 Mar 2013 20:21:49 +0000 (13:21 -0700)]
- Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
Victor Stinner [Thu, 21 Mar 2013 11:21:06 +0000 (12:21 +0100)]
Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt (CTRL+c)
R David Murray [Thu, 21 Mar 2013 04:32:31 +0000 (00:32 -0400)]
#5713: One more test_smtplib timing fix.
R David Murray [Thu, 21 Mar 2013 02:12:14 +0000 (22:12 -0400)]
Merge: #5712: Preemptively fix some other possible timing issues.
R David Murray [Thu, 21 Mar 2013 02:11:40 +0000 (22:11 -0400)]
#5712: Preemptively fix some other possible timing issues.
R David Murray [Thu, 21 Mar 2013 01:55:14 +0000 (21:55 -0400)]
Merge: #5713: fix timing issue in smtplib tests.
R David Murray [Thu, 21 Mar 2013 01:54:05 +0000 (21:54 -0400)]
#5713: fix timing issue in smtplib tests.
Gregory P. Smith [Thu, 21 Mar 2013 01:32:22 +0000 (18:32 -0700)]
merge
Gregory P. Smith [Thu, 21 Mar 2013 01:32:03 +0000 (18:32 -0700)]
remove the long obsolete mention of universal newlines mode only being
available when configured at compile time.
R David Murray [Thu, 21 Mar 2013 01:12:17 +0000 (21:12 -0400)]
Merge: #5713: Handle 421 error codes during sendmail by closing the socket.
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
R David Murray [Thu, 21 Mar 2013 00:36:14 +0000 (20:36 -0400)]
#5713: Handle 421 error codes during sendmail by closing the socket.
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
doko@ubuntu.com [Wed, 20 Mar 2013 19:38:50 +0000 (12:38 -0700)]
- .hgtouch: Add dependencies for GRAMMAR_H and GRAMMAR_C
Ezio Melotti [Wed, 20 Mar 2013 16:15:37 +0000 (18:15 +0200)]
#17493: merge with 3.2.
Ezio Melotti [Wed, 20 Mar 2013 16:14:48 +0000 (18:14 +0200)]
#17493: re-enable a test on Windows. Patch by Zachary Ware.
Ezio Melotti [Wed, 20 Mar 2013 11:54:18 +0000 (13:54 +0200)]
Merge usage of argument/parameter and markup fixes from 3.2.
Ezio Melotti [Wed, 20 Mar 2013 11:53:32 +0000 (13:53 +0200)]
Fix usage of argument/parameter and markup.
Gregory P. Smith [Wed, 20 Mar 2013 06:36:31 +0000 (23:36 -0700)]
clarifiy the documentation for issue17285. see also commit
ee30400efceb which updated the docstring.
Gregory P. Smith [Wed, 20 Mar 2013 06:25:16 +0000 (23:25 -0700)]
Use a larger amount of data for tests such as the interrupted_write
tests that depend on filling up an OS pipe so that they work properly
on systems configured with large pipe buffers.
Senthil Kumaran [Wed, 20 Mar 2013 04:27:23 +0000 (21:27 -0700)]
Automated merge with file:///Users/skumaran/python/cpython
Kristján Valur Jónsson [Wed, 20 Mar 2013 03:18:37 +0000 (20:18 -0700)]
Issue #15038 : Fixing the condition broadcast and docs.
Senthil Kumaran [Wed, 20 Mar 2013 01:01:43 +0000 (18:01 -0700)]
#17474 - Mark the deprecated Request methods as deprecated-removed. Review by Ezio Melotti
Senthil Kumaran [Tue, 19 Mar 2013 23:46:34 +0000 (16:46 -0700)]
#17471 - merge from 3.2
Kristján Valur Jónsson [Tue, 19 Mar 2013 23:34:39 +0000 (16:34 -0700)]
Merge with 3.2
Senthil Kumaran [Tue, 19 Mar 2013 23:11:07 +0000 (16:11 -0700)]
#17471 - Increasing the urllib.error test coverage. Bringing it to 100%. Based on patch contributed by Daniel Wozniak
Kristján Valur Jónsson [Tue, 19 Mar 2013 23:00:01 +0000 (16:00 -0700)]
Merge
Kristján Valur Jónsson [Tue, 19 Mar 2013 22:57:19 +0000 (15:57 -0700)]
Merge
Kristján Valur Jónsson [Tue, 19 Mar 2013 22:35:28 +0000 (15:35 -0700)]
#10296: Merge to 3.3
Gregory P. Smith [Tue, 19 Mar 2013 22:30:41 +0000 (15:30 -0700)]
merge from 3.2
Gregory P. Smith [Tue, 19 Mar 2013 22:25:46 +0000 (15:25 -0700)]
merge heads
Gregory P. Smith [Tue, 19 Mar 2013 22:25:28 +0000 (15:25 -0700)]
merge heads
Kristján Valur Jónsson [Tue, 19 Mar 2013 22:24:10 +0000 (15:24 -0700)]
Issue #10296 : Don't handle BreakPoint exceptions using
Structured Exception Handling on windows.
R David Murray [Tue, 19 Mar 2013 22:21:22 +0000 (18:21 -0400)]
Merge: #
1525919: Document MIMEText+set_payload encoding behavior.
R David Murray [Tue, 19 Mar 2013 22:18:55 +0000 (18:18 -0400)]
#
1525919: Document MIMEText+set_payload encoding behavior.
Gregory P. Smith [Tue, 19 Mar 2013 22:07:22 +0000 (15:07 -0700)]
merge heads
Gregory P. Smith [Tue, 19 Mar 2013 22:05:52 +0000 (15:05 -0700)]
merge heads in 3.3
doko@ubuntu.com [Tue, 19 Mar 2013 22:03:26 +0000 (15:03 -0700)]
- update config.guess and config.sub
Gregory P. Smith [Tue, 19 Mar 2013 22:03:26 +0000 (15:03 -0700)]
merge heads in 3.2
Gregory P. Smith [Tue, 19 Mar 2013 21:59:02 +0000 (14:59 -0700)]
Fixes Issue #17192: Update the ctypes module's libffi to v3.0.13. This
specifically addresses a stack misalignment issue on x86 and issues
on some more recent platforms.
Senthil Kumaran [Tue, 19 Mar 2013 20:44:17 +0000 (13:44 -0700)]
#17471 - merge from 3.2
Senthil Kumaran [Tue, 19 Mar 2013 20:43:42 +0000 (13:43 -0700)]
#17471 - Improve urllib2 test coverage. Patch contributed by Daniel Wozniak
R David Murray [Tue, 19 Mar 2013 20:24:35 +0000 (16:24 -0400)]
Merge: #8862: Fix curses cleanup with getchar is interrupted by a signal.
I have no idea how one would write a test for this.
Patch by July Tikhonov.
R David Murray [Tue, 19 Mar 2013 20:23:09 +0000 (16:23 -0400)]
#8862: Fix curses cleanup with getchar is interrupted by a signal.
I have no idea how one would write a test for this.
Patch by July Tikhonov.
R David Murray [Tue, 19 Mar 2013 17:56:01 +0000 (13:56 -0400)]
Merge: #17443: Fix buffering in IMAP4_stream.
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
R David Murray [Tue, 19 Mar 2013 17:52:33 +0000 (13:52 -0400)]
#17443: Fix buffering in IMAP4_stream.
In Python2 Popen uses *FILE objects, which wind up buffering even though
subprocess defaults to no buffering. In Python3, subprocess streams really
are unbuffered by default, but the imaplib code assumes read is buffered. This
patch uses the default buffer size from the io module to get buffered streams
from Popen.
Much debugging work and patch by Diane Trout.
The imap protocol is too complicated to write a test for this simple
change with our current level of test infrastructure.
Serhiy Storchaka [Tue, 19 Mar 2013 11:27:05 +0000 (13:27 +0200)]
Fix usage of the unittest.skip decorator.
Serhiy Storchaka [Tue, 19 Mar 2013 11:25:20 +0000 (13:25 +0200)]
Fix usage of the unittest.skip decorator.
Senthil Kumaran [Tue, 19 Mar 2013 07:58:46 +0000 (00:58 -0700)]
#17460 - merge from 3.2
Senthil Kumaran [Tue, 19 Mar 2013 07:51:08 +0000 (00:51 -0700)]
#17460 - Adding relevant warning messages regarding strict removal in docs
R David Murray [Tue, 19 Mar 2013 06:32:35 +0000 (02:32 -0400)]
#17476: make allmethods actually return all methods.
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
R David Murray [Tue, 19 Mar 2013 06:31:06 +0000 (02:31 -0400)]
#17476: make allmethods actually return all methods.
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
Gregory P. Smith [Tue, 19 Mar 2013 00:11:20 +0000 (17:11 -0700)]
Fixes issue #17192: Update the ctypes module's libffi to v3.0.13. This
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
Senthil Kumaran [Tue, 19 Mar 2013 00:09:50 +0000 (17:09 -0700)]
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
Michael Foord [Mon, 18 Mar 2013 22:04:03 +0000 (15:04 -0700)]
Documentation corrections for unittest.mock
Andrew Svetlov [Mon, 18 Mar 2013 17:09:50 +0000 (10:09 -0700)]
Issue #17463: Fix test discovery for test_pdb.py
R David Murray [Mon, 18 Mar 2013 04:20:43 +0000 (00:20 -0400)]
Merge #17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
R David Murray [Mon, 18 Mar 2013 04:18:12 +0000 (00:18 -0400)]
#17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
R David Murray [Mon, 18 Mar 2013 01:53:23 +0000 (21:53 -0400)]
Merge #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
R David Murray [Mon, 18 Mar 2013 01:52:35 +0000 (21:52 -0400)]
#16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
Brett Cannon [Sun, 17 Mar 2013 22:48:16 +0000 (15:48 -0700)]
Issue #16880: _imp.load_dynamic() is not defined on a platform that
does not support dynamic loading (e.g. Atari), so make sure that imp
doesn't assume it always exists.
Patch by Christian Heimes.
Terry Jan Reedy [Sun, 17 Mar 2013 19:28:52 +0000 (15:28 -0400)]
Merge with 3.2
Terry Jan Reedy [Sun, 17 Mar 2013 19:28:10 +0000 (15:28 -0400)]
Issue #17415: Trim trailing whitespace
Terry Jan Reedy [Sun, 17 Mar 2013 19:22:00 +0000 (15:22 -0400)]
Merge with 3.2
Terry Jan Reedy [Sun, 17 Mar 2013 19:21:26 +0000 (15:21 -0400)]
Issue #17415: Clarify 'this' referent by moving containing sentence just after
the sentence referred to. Make other minor edits to improve flow.
Serhiy Storchaka [Sat, 16 Mar 2013 20:59:59 +0000 (22:59 +0200)]
Issue #16389: Fixed an issue number in previos commit.
Serhiy Storchaka [Sat, 16 Mar 2013 20:59:27 +0000 (22:59 +0200)]
Issue #16389: Fixed an issue number in previos commit.
Serhiy Storchaka [Sat, 16 Mar 2013 20:53:48 +0000 (22:53 +0200)]
Issue #16564: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.
Serhiy Storchaka [Sat, 16 Mar 2013 20:52:09 +0000 (22:52 +0200)]
Issue #16564: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.
Serhiy Storchaka [Sat, 16 Mar 2013 20:50:13 +0000 (22:50 +0200)]
Null merge
Terry Jan Reedy [Sat, 16 Mar 2013 20:06:52 +0000 (16:06 -0400)]
Merge heads 3.3.
Terry Jan Reedy [Sat, 16 Mar 2013 20:05:27 +0000 (16:05 -0400)]
Merge heads 3.2.