]> granicus.if.org Git - python/log
python
11 years agoUse logic operator, not bitwise operator, for conditional.
R David Murray [Wed, 20 Mar 2013 04:15:20 +0000 (00:15 -0400)]
Use logic operator, not bitwise operator, for conditional.

11 years ago#17485: Delete the Content-Length header if the data attribute is deleted.
R David Murray [Wed, 20 Mar 2013 04:10:51 +0000 (00:10 -0400)]
#17485: Delete the Content-Length header if the data attribute is deleted.

This is a follow on to issue 16464.  Original patch by Daniel Wozniak.

11 years agoMerge with 3.3
Kristján Valur Jónsson [Wed, 20 Mar 2013 03:26:39 +0000 (20:26 -0700)]
Merge with 3.3

11 years agoIssue #15038 : Fixing the condition broadcast and docs.
Kristján Valur Jónsson [Wed, 20 Mar 2013 03:18:37 +0000 (20:18 -0700)]
Issue #15038 : Fixing the condition broadcast and docs.

11 years agoIssue #15038 : Fixing the condition broadcast and docs.
Kristján Valur Jónsson [Wed, 20 Mar 2013 03:18:37 +0000 (20:18 -0700)]
Issue #15038 : Fixing the condition broadcast and docs.

11 years agoIssue #16475: Support object instancing, recursion and interned strings
Kristján Valur Jónsson [Wed, 20 Mar 2013 01:02:10 +0000 (18:02 -0700)]
Issue #16475: Support object instancing, recursion and interned strings
  in marshal

11 years ago#15927: Fix cvs.reader parsing of escaped \r\n with quoting off.
R David Murray [Wed, 20 Mar 2013 02:41:47 +0000 (22:41 -0400)]
#15927: Fix cvs.reader parsing of escaped \r\n with quoting off.

This fix means that such values are correctly roundtripped, since
cvs.writer already does the correct escaping.

Patch by Michael Johnson.

11 years agoCloses issue 17467. Add readline and readlines support to unittest.mock.mock_open
Michael Foord [Wed, 20 Mar 2013 00:22:51 +0000 (17:22 -0700)]
Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open

11 years ago#17471: merge from 3.3
Senthil Kumaran [Tue, 19 Mar 2013 23:52:06 +0000 (16:52 -0700)]
#17471: merge from 3.3

11 years ago#17471 - merge from 3.2
Senthil Kumaran [Tue, 19 Mar 2013 23:46:34 +0000 (16:46 -0700)]
#17471 - merge from 3.2

11 years agoIssue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular.
Terry Jan Reedy [Tue, 19 Mar 2013 23:44:04 +0000 (19:44 -0400)]
Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular.

11 years agoMerge with 3.3
Kristján Valur Jónsson [Tue, 19 Mar 2013 23:35:26 +0000 (16:35 -0700)]
Merge with 3.3

11 years agoMerge with 3.2
Kristján Valur Jónsson [Tue, 19 Mar 2013 23:34:39 +0000 (16:34 -0700)]
Merge with 3.2

11 years agoMerge with 3.3
Kristján Valur Jónsson [Tue, 19 Mar 2013 23:20:16 +0000 (16:20 -0700)]
Merge with 3.3

11 years agoMerge with 3.2
Kristján Valur Jónsson [Tue, 19 Mar 2013 23:19:24 +0000 (16:19 -0700)]
Merge with 3.2

11 years ago#17471 - Increasing the urllib.error test coverage. Bringing it to 100%. Based on...
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

11 years agoMerge
Kristján Valur Jónsson [Tue, 19 Mar 2013 23:00:01 +0000 (16:00 -0700)]
Merge

11 years agoMerge
Kristján Valur Jónsson [Tue, 19 Mar 2013 22:57:19 +0000 (15:57 -0700)]
Merge

11 years agoIssue #10296: Merge to default
Kristján Valur Jónsson [Tue, 19 Mar 2013 22:38:32 +0000 (15:38 -0700)]
Issue #10296: Merge to default

11 years ago#10296: Merge to 3.3
Kristján Valur Jónsson [Tue, 19 Mar 2013 22:35:28 +0000 (15:35 -0700)]
#10296: Merge to 3.3

11 years agomerge heads & use iso8601 date format
Gregory P. Smith [Tue, 19 Mar 2013 22:33:23 +0000 (15:33 -0700)]
merge heads & use iso8601 date format

11 years agomerge heads
Gregory P. Smith [Tue, 19 Mar 2013 22:31:05 +0000 (15:31 -0700)]
merge heads

11 years agomerge from 3.2
Gregory P. Smith [Tue, 19 Mar 2013 22:30:41 +0000 (15:30 -0700)]
merge from 3.2

11 years agomerge heads
Gregory P. Smith [Tue, 19 Mar 2013 22:25:46 +0000 (15:25 -0700)]
merge heads

11 years agomerge heads
Gregory P. Smith [Tue, 19 Mar 2013 22:25:28 +0000 (15:25 -0700)]
merge heads

11 years agoFixes Issue #17192: Update the ctypes module's libffi to v3.0.13. This
Gregory P. Smith [Tue, 19 Mar 2013 22:24:46 +0000 (15:24 -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.

11 years agoIssue #10296 : Don't handle BreakPoint exceptions using
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.

11 years agoMerge: #1525919: Document MIMEText+set_payload encoding behavior.
R David Murray [Tue, 19 Mar 2013 22:21:50 +0000 (18:21 -0400)]
Merge: #1525919: Document MIMEText+set_payload encoding behavior.

11 years agoMerge: #1525919: Document MIMEText+set_payload encoding behavior.
R David Murray [Tue, 19 Mar 2013 22:21:22 +0000 (18:21 -0400)]
Merge: #1525919: Document MIMEText+set_payload encoding behavior.

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

11 years agomerge heads
Gregory P. Smith [Tue, 19 Mar 2013 22:07:22 +0000 (15:07 -0700)]
merge heads

11 years agomerge heads in 3.3
Gregory P. Smith [Tue, 19 Mar 2013 22:05:52 +0000 (15:05 -0700)]
merge heads in 3.3

11 years ago- update config.guess and config.sub
doko@ubuntu.com [Tue, 19 Mar 2013 22:03:57 +0000 (15:03 -0700)]
- update config.guess and config.sub

11 years ago- update config.guess and config.sub
doko@ubuntu.com [Tue, 19 Mar 2013 22:03:26 +0000 (15:03 -0700)]
- update config.guess and config.sub

11 years agomerge heads in 3.2
Gregory P. Smith [Tue, 19 Mar 2013 22:03:26 +0000 (15:03 -0700)]
merge heads in 3.2

11 years agoFixes Issue #17192: Update the ctypes module's libffi to v3.0.13. This
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.

11 years ago#17471 - merge from 3.3
Senthil Kumaran [Tue, 19 Mar 2013 20:44:42 +0000 (13:44 -0700)]
#17471 - merge from 3.3

11 years ago#17471 - merge from 3.2
Senthil Kumaran [Tue, 19 Mar 2013 20:44:17 +0000 (13:44 -0700)]
#17471 - merge from 3.2

11 years ago#17471 - Improve urllib2 test coverage. Patch contributed by Daniel Wozniak
Senthil Kumaran [Tue, 19 Mar 2013 20:43:42 +0000 (13:43 -0700)]
#17471 - Improve urllib2 test coverage. Patch contributed by Daniel Wozniak

11 years agoMerge: #8862: Fix curses cleanup with getchar is interrupted by a signal.
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.

11 years agoMerge: #8862: Fix curses cleanup with getchar is interrupted by a signal.
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.

11 years ago#8862: Fix curses cleanup with getchar is interrupted by a signal.
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.

11 years agomerge branch
Senthil Kumaran [Tue, 19 Mar 2013 19:18:50 +0000 (12:18 -0700)]
merge branch

11 years agoRefactor test_urllib2. Include test_HTTPError_interface under MiscTests
Senthil Kumaran [Tue, 19 Mar 2013 19:07:43 +0000 (12:07 -0700)]
Refactor test_urllib2. Include test_HTTPError_interface under MiscTests

11 years ago../bug-fixes/http_error_interface/.hg/last-message.txt
Senthil Kumaran [Tue, 19 Mar 2013 19:07:43 +0000 (12:07 -0700)]
../bug-fixes/http_error_interface/.hg/last-message.txt

11 years agoMerge: #17443: Fix buffering in IMAP4_stream.
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.

11 years agoMerge: #17443: Fix buffering in IMAP4_stream.
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.

11 years ago#17443: Fix buffering in IMAP4_stream.
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.

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 agoFixes issue #17192: Update the ctypes module's libffi to v3.0.13. This
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.

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.