]>
granicus.if.org Git - python/log
Senthil Kumaran [Tue, 19 Mar 2013 20:44:42 +0000 (13:44 -0700)]
#17471 - merge from 3.3
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:26:19 +0000 (16:26 -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: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.
Senthil Kumaran [Tue, 19 Mar 2013 19:18:50 +0000 (12:18 -0700)]
merge branch
Senthil Kumaran [Tue, 19 Mar 2013 19:07:43 +0000 (12:07 -0700)]
Refactor test_urllib2. Include test_HTTPError_interface under MiscTests
Senthil Kumaran [Tue, 19 Mar 2013 19:07:43 +0000 (12:07 -0700)]
../bug-fixes/http_error_interface/.hg/last-message.txt
R David Murray [Tue, 19 Mar 2013 17:56:54 +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: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:24 +0000 (13:27 +0200)]
Fix usage of the unittest.skip decorator.
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 08:22:56 +0000 (01:22 -0700)]
#17460 - merge from 3.3
Ezio Melotti [Tue, 19 Mar 2013 08:13:28 +0000 (10:13 +0200)]
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:47:44 +0000 (02:47 -0400)]
Merge: #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.
Benjamin Peterson [Tue, 19 Mar 2013 06:40:53 +0000 (23:40 -0700)]
bump Python-ast.c
Benjamin Peterson [Tue, 19 Mar 2013 06:39:53 +0000 (23:39 -0700)]
placate msvc
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.
Benjamin Peterson [Tue, 19 Mar 2013 06:28:07 +0000 (23:28 -0700)]
merge heads
Benjamin Peterson [Tue, 19 Mar 2013 06:24:41 +0000 (23:24 -0700)]
refactor to fix refleaks
Benjamin Peterson [Tue, 19 Mar 2013 06:13:31 +0000 (23:13 -0700)]
sprinkle const
R David Murray [Tue, 19 Mar 2013 04:00:33 +0000 (00:00 -0400)]
#17464: improve pydoc test coverage.
Patch by Matt Bachmann.
Senthil Kumaran [Tue, 19 Mar 2013 01:06:00 +0000 (18:06 -0700)]
#17474 - Remove the various deprecated methods of Request class.
Michael Foord [Tue, 19 Mar 2013 00:50:12 +0000 (17:50 -0700)]
Closes issue 16709. unittest test discovery sorts test files for consistent test ordering
Senthil Kumaran [Tue, 19 Mar 2013 00:10:45 +0000 (17:10 -0700)]
#10050 : merge to default
Senthil Kumaran [Tue, 19 Mar 2013 00:09:50 +0000 (17:09 -0700)]
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
Benjamin Peterson [Mon, 18 Mar 2013 22:20:56 +0000 (15:20 -0700)]
use the HTTPS for pypi upload
Michael Foord [Mon, 18 Mar 2013 22:04:33 +0000 (15:04 -0700)]
Merge
Michael Foord [Mon, 18 Mar 2013 22:04:03 +0000 (15:04 -0700)]
Documentation corrections for unittest.mock
R David Murray [Mon, 18 Mar 2013 21:42:42 +0000 (17:42 -0400)]
#5024: whichhdr now returns the frame count for WAV files.
Patch by Ned Jackson Lovely based on a suggestion by Robert Pyle.
Senthil Kumaran [Mon, 18 Mar 2013 21:11:41 +0000 (14:11 -0700)]
#17460: Remove the strict argument of HTTPConnection and removing the
DeprecationWarning being issued from 3.2 onwards.
Benjamin Peterson [Mon, 18 Mar 2013 17:59:41 +0000 (10:59 -0700)]
move declaration to top of block
Benjamin Peterson [Mon, 18 Mar 2013 17:52:04 +0000 (10:52 -0700)]
add Sven Brauch for his #16795 contribution
Benjamin Peterson [Mon, 18 Mar 2013 17:48:58 +0000 (10:48 -0700)]
unify some ast.argument's attrs; change Attribute column offset (closes #16795)
Patch from Sven Brauch.
Andrew Svetlov [Mon, 18 Mar 2013 17:10:08 +0000 (10:10 -0700)]
Issue #17463: Fix test discovery for test_pdb.py
Andrew Svetlov [Mon, 18 Mar 2013 17:09:50 +0000 (10:09 -0700)]
Issue #17463: Fix test discovery for test_pdb.py
Giampaolo Rodola' [Mon, 18 Mar 2013 08:59:15 +0000 (09:59 +0100)]
(issue 17452 / ftplib) fix TypeError occurring in case ssl module is not installed
R David Murray [Mon, 18 Mar 2013 04:21:43 +0000 (00:21 -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: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:48 +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: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:49:21 +0000 (15:49 -0700)]
merge
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:29:19 +0000 (15:29 -0400)]
Merge with 3.3
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:25:12 +0000 (15:25 -0400)]
Merge with 3.3
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.
Benjamin Peterson [Sat, 16 Mar 2013 22:39:42 +0000 (15:39 -0700)]
merge heads
Benjamin Peterson [Sat, 16 Mar 2013 22:38:28 +0000 (15:38 -0700)]
C89 compliance
Serhiy Storchaka [Sat, 16 Mar 2013 21:00:16 +0000 (23:00 +0200)]
Issue #16389: Fixed an issue number in previos commit.
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:55:04 +0000 (22:55 +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: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:30 +0000 (22:50 +0200)]
Null merge
Serhiy Storchaka [Sat, 16 Mar 2013 20:50:13 +0000 (22:50 +0200)]
Null merge
Ezio Melotti [Sat, 16 Mar 2013 20:23:30 +0000 (22:23 +0200)]
Fix markup/wording.
Terry Jan Reedy [Sat, 16 Mar 2013 20:08:12 +0000 (16:08 -0400)]
Merge heads default.
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.
Terry Jan Reedy [Sat, 16 Mar 2013 19:57:27 +0000 (15:57 -0400)]
Merge with 3.3
Terry Jan Reedy [Sat, 16 Mar 2013 19:56:50 +0000 (15:56 -0400)]
Merge with 3.2
Terry Jan Reedy [Sat, 16 Mar 2013 19:56:27 +0000 (15:56 -0400)]
Issue #17418: specify that buffer sizes are bytes as soon as possible.
Ezio Melotti [Sat, 16 Mar 2013 19:50:04 +0000 (21:50 +0200)]
#11420: merge with 3.3.
Ezio Melotti [Sat, 16 Mar 2013 19:49:20 +0000 (21:49 +0200)]
#11420: merge with 3.2.
Ezio Melotti [Sat, 16 Mar 2013 17:48:51 +0000 (19:48 +0200)]
#11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
Benjamin Peterson [Sat, 16 Mar 2013 16:15:47 +0000 (09:15 -0700)]
reject non-docs strings between future imports (closes #17434)
Georg Brandl [Sat, 16 Mar 2013 07:03:51 +0000 (08:03 +0100)]
merge with 3.3
Georg Brandl [Sat, 16 Mar 2013 07:03:13 +0000 (08:03 +0100)]
merge heads
Georg Brandl [Sat, 16 Mar 2013 07:01:49 +0000 (08:01 +0100)]
Remove row-spanning cell, which the Sphinx text writer does not support.
Terry Jan Reedy [Sat, 16 Mar 2013 07:01:02 +0000 (03:01 -0400)]
#10652 null merge from 3.3 which had wrong issue #
Terry Jan Reedy [Sat, 16 Mar 2013 06:58:15 +0000 (02:58 -0400)]
#12345: null merge with 3.2.
Terry Jan Reedy [Sat, 16 Mar 2013 06:53:09 +0000 (02:53 -0400)]
typo
Terry Jan Reedy [Sat, 16 Mar 2013 06:52:24 +0000 (02:52 -0400)]
Merge with 3.3
Terry Jan Reedy [Sat, 16 Mar 2013 06:51:18 +0000 (02:51 -0400)]
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
Terry Jan Reedy [Sat, 16 Mar 2013 06:37:06 +0000 (02:37 -0400)]
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
R David Murray [Sat, 16 Mar 2013 01:00:48 +0000 (21:00 -0400)]
Add missing FeedParser and BytesFeedParser to email.parser.__all__.
R David Murray [Sat, 16 Mar 2013 00:45:11 +0000 (20:45 -0400)]
Merge: #17431: Fix missing import of BytesFeedParser in email.parser.
R David Murray [Sat, 16 Mar 2013 00:42:29 +0000 (20:42 -0400)]
Merge: #17431: Fix missing import of BytesFeedParser in email.parser.
R David Murray [Sat, 16 Mar 2013 00:38:15 +0000 (20:38 -0400)]
#17431: Fix missing import of BytesFeedParser in email.parser.
Initial patch contributed by Edmond Burnett.
Terry Jan Reedy [Fri, 15 Mar 2013 20:51:21 +0000 (16:51 -0400)]
Merge with 3.3
Terry Jan Reedy [Fri, 15 Mar 2013 20:50:54 +0000 (16:50 -0400)]
Merge with 3.2
Terry Jan Reedy [Fri, 15 Mar 2013 20:50:23 +0000 (16:50 -0400)]
Issue #17398: document url argument of RobotFileParser
Senthil Kumaran [Fri, 15 Mar 2013 14:53:21 +0000 (07:53 -0700)]
#1291 http.server's send_error takes an optional explain argument
Terry Jan Reedy [Fri, 15 Mar 2013 07:41:35 +0000 (03:41 -0400)]
Merge with 3.2: closes issue #17047
Terry Jan Reedy [Fri, 15 Mar 2013 07:39:38 +0000 (03:39 -0400)]
Merge with 3.2: issue #17047 news entry
Terry Jan Reedy [Fri, 15 Mar 2013 07:33:11 +0000 (03:33 -0400)]
Issue #17047: Add news entry
Terry Jan Reedy [Fri, 15 Mar 2013 07:04:25 +0000 (03:04 -0400)]
Issue #17414: Add timeit, repeat, and default_timer to timeit.__all__.
Revise module docstring and update itertools import and use.
Eli Bendersky [Thu, 14 Mar 2013 21:41:23 +0000 (14:41 -0700)]
Merge