]> granicus.if.org Git - python/log
python
11 years agoFix usage of the unittest.skip decorator.
Serhiy Storchaka [Tue, 19 Mar 2013 11:27:24 +0000 (13:27 +0200)]
Fix usage of the unittest.skip decorator.

11 years agoFix 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.

11 years agoFix 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.

11 years ago#17460 - merge from 3.3
Senthil Kumaran [Tue, 19 Mar 2013 08:22:56 +0000 (01:22 -0700)]
#17460 - merge from 3.3

11 years agoNull merge 7127fbc363bb.
Ezio Melotti [Tue, 19 Mar 2013 08:13:28 +0000 (10:13 +0200)]
Null merge 7127fbc363bb.

11 years ago#17460 - merge from 3.2
Senthil Kumaran [Tue, 19 Mar 2013 07:58:46 +0000 (00:58 -0700)]
#17460 - merge from 3.2

11 years ago#17460 - Adding relevant warning messages regarding strict removal in docs
Senthil Kumaran [Tue, 19 Mar 2013 07:51:08 +0000 (00:51 -0700)]
#17460 - Adding relevant warning messages regarding strict removal in docs

11 years agoMerge: #17476: make allmethods actually return all methods.
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.

11 years agobump Python-ast.c
Benjamin Peterson [Tue, 19 Mar 2013 06:40:53 +0000 (23:40 -0700)]
bump Python-ast.c

11 years agoplacate msvc
Benjamin Peterson [Tue, 19 Mar 2013 06:39:53 +0000 (23:39 -0700)]
placate msvc

11 years ago#17476: make allmethods actually return all methods.
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.

11 years ago#17476: make allmethods actually return all methods.
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.

11 years agomerge heads
Benjamin Peterson [Tue, 19 Mar 2013 06:28:07 +0000 (23:28 -0700)]
merge heads

11 years agorefactor to fix refleaks
Benjamin Peterson [Tue, 19 Mar 2013 06:24:41 +0000 (23:24 -0700)]
refactor to fix refleaks

11 years agosprinkle const
Benjamin Peterson [Tue, 19 Mar 2013 06:13:31 +0000 (23:13 -0700)]
sprinkle const

11 years ago#17464: improve pydoc test coverage.
R David Murray [Tue, 19 Mar 2013 04:00:33 +0000 (00:00 -0400)]
#17464: improve pydoc test coverage.

Patch by Matt Bachmann.

11 years ago#17474 - Remove the various deprecated methods of Request class.
Senthil Kumaran [Tue, 19 Mar 2013 01:06:00 +0000 (18:06 -0700)]
#17474 - Remove the various deprecated methods of Request class.

11 years agoCloses issue 16709. unittest test discovery sorts test files for consistent test...
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

11 years ago#10050 : merge to default
Senthil Kumaran [Tue, 19 Mar 2013 00:10:45 +0000 (17:10 -0700)]
#10050 : merge to default

11 years ago#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
Senthil Kumaran [Tue, 19 Mar 2013 00:09:50 +0000 (17:09 -0700)]
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )

11 years agouse the HTTPS for pypi upload
Benjamin Peterson [Mon, 18 Mar 2013 22:20:56 +0000 (15:20 -0700)]
use the HTTPS for pypi upload

11 years agoMerge
Michael Foord [Mon, 18 Mar 2013 22:04:33 +0000 (15:04 -0700)]
Merge

11 years agoDocumentation corrections for unittest.mock
Michael Foord [Mon, 18 Mar 2013 22:04:03 +0000 (15:04 -0700)]
Documentation corrections for unittest.mock

11 years ago#5024: whichhdr now returns the frame count for WAV files.
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.

11 years ago#17460: Remove the strict argument of HTTPConnection and removing the
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.

11 years agomove declaration to top of block
Benjamin Peterson [Mon, 18 Mar 2013 17:59:41 +0000 (10:59 -0700)]
move declaration to top of block

11 years agoadd Sven Brauch for his #16795 contribution
Benjamin Peterson [Mon, 18 Mar 2013 17:52:04 +0000 (10:52 -0700)]
add Sven Brauch for his #16795 contribution

11 years agounify some ast.argument's attrs; change Attribute column offset (closes #16795)
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.

11 years agoIssue #17463: Fix test discovery for test_pdb.py
Andrew Svetlov [Mon, 18 Mar 2013 17:10:08 +0000 (10:10 -0700)]
Issue #17463: Fix test discovery for test_pdb.py

11 years agoIssue #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

11 years ago(issue 17452 / ftplib) fix TypeError occurring in case ssl module is not installed
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

11 years agoMerge #17448: Make test_sax skip if there are no xml parsers.
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.

11 years agoMerge #17448: Make test_sax skip if there are no xml parsers.
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.

11 years ago#17448: Make test_sax skip if there are no xml parsers.
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.

11 years agoMerge #16057: Clarify why the base method default is called in custom encoders.
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.

11 years agoMerge #16057: Clarify why the base method default is called in custom encoders.
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.

11 years ago#16057: Clarify why the base method default is called in custom encoders.
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.

11 years agomerge
Brett Cannon [Sun, 17 Mar 2013 22:49:21 +0000 (15:49 -0700)]
merge

11 years agoIssue #16880: _imp.load_dynamic() is not defined on a platform that
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.

11 years agoMerge with 3.3
Terry Jan Reedy [Sun, 17 Mar 2013 19:29:19 +0000 (15:29 -0400)]
Merge with 3.3

11 years agoMerge with 3.2
Terry Jan Reedy [Sun, 17 Mar 2013 19:28:52 +0000 (15:28 -0400)]
Merge with 3.2

11 years agoIssue #17415: Trim trailing whitespace
Terry Jan Reedy [Sun, 17 Mar 2013 19:28:10 +0000 (15:28 -0400)]
Issue #17415: Trim trailing whitespace

11 years agoMerge with 3.3
Terry Jan Reedy [Sun, 17 Mar 2013 19:25:12 +0000 (15:25 -0400)]
Merge with 3.3

11 years agoMerge with 3.2
Terry Jan Reedy [Sun, 17 Mar 2013 19:22:00 +0000 (15:22 -0400)]
Merge with 3.2

11 years agoIssue #17415: Clarify 'this' referent by moving containing sentence just after
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.

11 years agomerge heads
Benjamin Peterson [Sat, 16 Mar 2013 22:39:42 +0000 (15:39 -0700)]
merge heads

11 years agoC89 compliance
Benjamin Peterson [Sat, 16 Mar 2013 22:38:28 +0000 (15:38 -0700)]
C89 compliance

11 years agoIssue #16389: Fixed an issue number in previos commit.
Serhiy Storchaka [Sat, 16 Mar 2013 21:00:16 +0000 (23:00 +0200)]
Issue #16389: Fixed an issue number in previos commit.

11 years agoIssue #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.

11 years agoIssue #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.

11 years agoIssue #16564: Fixed a performance regression relative to Python 3.1 in the
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.

11 years agoIssue #16564: Fixed a performance regression relative to Python 3.1 in the
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.

11 years agoIssue #16564: Fixed a performance regression relative to Python 3.1 in the
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.

11 years agoNull merge
Serhiy Storchaka [Sat, 16 Mar 2013 20:50:30 +0000 (22:50 +0200)]
Null merge

11 years agoNull merge
Serhiy Storchaka [Sat, 16 Mar 2013 20:50:13 +0000 (22:50 +0200)]
Null merge

11 years agoFix markup/wording.
Ezio Melotti [Sat, 16 Mar 2013 20:23:30 +0000 (22:23 +0200)]
Fix markup/wording.

11 years agoMerge heads default.
Terry Jan Reedy [Sat, 16 Mar 2013 20:08:12 +0000 (16:08 -0400)]
Merge heads default.

11 years agoMerge heads 3.3.
Terry Jan Reedy [Sat, 16 Mar 2013 20:06:52 +0000 (16:06 -0400)]
Merge heads 3.3.

11 years agoMerge heads 3.2.
Terry Jan Reedy [Sat, 16 Mar 2013 20:05:27 +0000 (16:05 -0400)]
Merge heads 3.2.

11 years agoMerge with 3.3
Terry Jan Reedy [Sat, 16 Mar 2013 19:57:27 +0000 (15:57 -0400)]
Merge with 3.3

11 years agoMerge with 3.2
Terry Jan Reedy [Sat, 16 Mar 2013 19:56:50 +0000 (15:56 -0400)]
Merge with 3.2

11 years agoIssue #17418: specify that buffer sizes are bytes as soon as possible.
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.

11 years ago#11420: merge with 3.3.
Ezio Melotti [Sat, 16 Mar 2013 19:50:04 +0000 (21:50 +0200)]
#11420: merge with 3.3.

11 years ago#11420: merge with 3.2.
Ezio Melotti [Sat, 16 Mar 2013 19:49:20 +0000 (21:49 +0200)]
#11420: merge with 3.2.

11 years ago#11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas...
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.

11 years agoreject non-docs strings between future imports (closes #17434)
Benjamin Peterson [Sat, 16 Mar 2013 16:15:47 +0000 (09:15 -0700)]
reject non-docs strings between future imports (closes #17434)

11 years agomerge with 3.3
Georg Brandl [Sat, 16 Mar 2013 07:03:51 +0000 (08:03 +0100)]
merge with 3.3

11 years agomerge heads
Georg Brandl [Sat, 16 Mar 2013 07:03:13 +0000 (08:03 +0100)]
merge heads

11 years agoRemove row-spanning cell, which the Sphinx text writer does not support.
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.

11 years ago#10652 null merge from 3.3 which had wrong issue #
Terry Jan Reedy [Sat, 16 Mar 2013 07:01:02 +0000 (03:01 -0400)]
#10652 null merge from 3.3 which had wrong issue #

11 years ago#12345: null merge with 3.2.
Terry Jan Reedy [Sat, 16 Mar 2013 06:58:15 +0000 (02:58 -0400)]
#12345: null merge with 3.2.

11 years agotypo
Terry Jan Reedy [Sat, 16 Mar 2013 06:53:09 +0000 (02:53 -0400)]
typo

11 years agoMerge with 3.3
Terry Jan Reedy [Sat, 16 Mar 2013 06:52:24 +0000 (02:52 -0400)]
Merge with 3.3

11 years agoIssue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
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.

11 years agoIssue # 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.

11 years agoAdd missing FeedParser and BytesFeedParser to email.parser.__all__.
R David Murray [Sat, 16 Mar 2013 01:00:48 +0000 (21:00 -0400)]
Add missing FeedParser and BytesFeedParser to email.parser.__all__.

11 years agoMerge: #17431: Fix missing import of BytesFeedParser in email.parser.
R David Murray [Sat, 16 Mar 2013 00:45:11 +0000 (20:45 -0400)]
Merge: #17431: Fix missing import of BytesFeedParser in email.parser.

11 years agoMerge: #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.

11 years ago#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.

11 years agoMerge with 3.3
Terry Jan Reedy [Fri, 15 Mar 2013 20:51:21 +0000 (16:51 -0400)]
Merge with 3.3

11 years agoMerge with 3.2
Terry Jan Reedy [Fri, 15 Mar 2013 20:50:54 +0000 (16:50 -0400)]
Merge with 3.2

11 years agoIssue #17398: document url argument of RobotFileParser
Terry Jan Reedy [Fri, 15 Mar 2013 20:50:23 +0000 (16:50 -0400)]
Issue #17398: document url argument of RobotFileParser

11 years ago#1291 http.server's send_error takes an optional explain argument
Senthil Kumaran [Fri, 15 Mar 2013 14:53:21 +0000 (07:53 -0700)]
#1291 http.server's send_error takes an optional explain argument

11 years agoMerge with 3.2: closes issue #17047
Terry Jan Reedy [Fri, 15 Mar 2013 07:41:35 +0000 (03:41 -0400)]
Merge with 3.2: closes issue #17047

11 years agoMerge with 3.2: issue #17047 news entry
Terry Jan Reedy [Fri, 15 Mar 2013 07:39:38 +0000 (03:39 -0400)]
Merge with 3.2: issue #17047 news entry

11 years agoIssue #17047: Add news entry
Terry Jan Reedy [Fri, 15 Mar 2013 07:33:11 +0000 (03:33 -0400)]
Issue #17047: Add news entry

11 years agoIssue #17414: Add timeit, repeat, and default_timer to timeit.__all__.
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.

11 years agoMerge
Eli Bendersky [Thu, 14 Mar 2013 21:41:23 +0000 (14:41 -0700)]
Merge

11 years agoSmall cosmetic fixes
Eli Bendersky [Thu, 14 Mar 2013 21:39:51 +0000 (14:39 -0700)]
Small cosmetic fixes

11 years agoIssue #1285086: Get rid of the refcounting hack and speed up
Serhiy Storchaka [Thu, 14 Mar 2013 19:34:55 +0000 (21:34 +0200)]
Issue #1285086: Get rid of the refcounting hack and speed up
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().

11 years agoIssue #1285086: Get rid of the refcounting hack and speed up
Serhiy Storchaka [Thu, 14 Mar 2013 19:33:35 +0000 (21:33 +0200)]
Issue #1285086: Get rid of the refcounting hack and speed up
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().

11 years agoIssue #1285086: Get rid of the refcounting hack and speed up
Serhiy Storchaka [Thu, 14 Mar 2013 19:31:37 +0000 (21:31 +0200)]
Issue #1285086: Get rid of the refcounting hack and speed up
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().

11 years agoMerge with 3.3: Issue #17386
Terry Jan Reedy [Thu, 14 Mar 2013 01:35:46 +0000 (21:35 -0400)]
Merge with 3.3: Issue #17386

11 years agoMerge with 3.2: Issue #17386
Terry Jan Reedy [Thu, 14 Mar 2013 01:35:07 +0000 (21:35 -0400)]
Merge with 3.2: Issue #17386

11 years agoIssue #17386 make.bat must run with Python 2 until Sphinx runs with Python 3.
Terry Jan Reedy [Thu, 14 Mar 2013 01:33:50 +0000 (21:33 -0400)]
Issue #17386 make.bat must run with Python 2 until Sphinx runs with Python 3.
If PYTHON is undefined, this fails without the launcher (installed with 3.3 or
from PyPI), but this is better than always failing. Patch from Zachary Ware.

11 years ago#17307 - merge from 3.3
Senthil Kumaran [Wed, 13 Mar 2013 20:43:23 +0000 (13:43 -0700)]
#17307 - merge from 3.3

11 years ago#17307 - merge from 3.2
Senthil Kumaran [Wed, 13 Mar 2013 20:42:47 +0000 (13:42 -0700)]
#17307 - merge from 3.2

11 years ago#17307 - Example of HTTP PUT Request using http.client
Senthil Kumaran [Wed, 13 Mar 2013 20:38:33 +0000 (13:38 -0700)]
#17307 - Example of HTTP PUT Request using http.client

11 years agomake some freezing related stuff const
Benjamin Peterson [Wed, 13 Mar 2013 19:06:39 +0000 (14:06 -0500)]
make some freezing related stuff const

11 years agoIssue #17099: Have importlib.find_loader() raise ValueError when
Brett Cannon [Wed, 13 Mar 2013 18:09:08 +0000 (11:09 -0700)]
Issue #17099: Have importlib.find_loader() raise ValueError when
__loader__ is not set on a module. This brings the exception in line
with when __loader__ is None (which is equivalent to not having the
attribute defined).