]> granicus.if.org Git - python/log
python
10 years agoAddress issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute...
Senthil Kumaran [Wed, 16 Apr 2014 17:56:19 +0000 (13:56 -0400)]
Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute further.

Initial patch by Caelyn McAulay.

10 years agoTry to fix buildbot failures on old OpenSSLs (< 1.0.0) - followup to issue #21015
Antoine Pitrou [Wed, 16 Apr 2014 16:33:39 +0000 (18:33 +0200)]
Try to fix buildbot failures on old OpenSSLs (< 1.0.0) - followup to issue #21015

10 years ago#18566: Whitespace
Terry Jan Reedy [Wed, 16 Apr 2014 03:44:14 +0000 (23:44 -0400)]
#18566: Whitespace

10 years agoIssue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.
Terry Jan Reedy [Wed, 16 Apr 2014 03:38:18 +0000 (23:38 -0400)]
Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.

10 years ago#1704474: mark refleak test as specific to CPython
Andrew Kuchling [Tue, 15 Apr 2014 20:44:43 +0000 (16:44 -0400)]
#1704474: mark refleak test as specific to CPython

Patch by Christian Hudon.

10 years ago#15840: make docs consistent by saying operations on closed files raise ValueError.
Andrew Kuchling [Wed, 16 Apr 2014 01:11:36 +0000 (21:11 -0400)]
#15840: make docs consistent by saying operations on closed files raise ValueError.

Patch by Caelyn McAulay.

Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an
operation on a closed stream raised IOError; generally the C
implementations have a macro to check for the stream being closed, and
these macros all raised ValueError.  If we find any, a new bug should
be opened.

10 years ago#20874: reflow paragraph.
R David Murray [Wed, 16 Apr 2014 00:26:54 +0000 (20:26 -0400)]
#20874: reflow paragraph.

10 years ago#20874: update tutorial wording: sophisticated line editing is now standard.
R David Murray [Wed, 16 Apr 2014 00:25:18 +0000 (20:25 -0400)]
#20874: update tutorial wording: sophisticated line editing is now standard.

Patch by Rafael Mejia.

10 years agoIssue #21245: updated documentation on exception() method and function.
Vinay Sajip [Tue, 15 Apr 2014 22:13:12 +0000 (23:13 +0100)]
Issue #21245: updated documentation on exception() method and function.

10 years agoCloses issue 21239. unittest.mock.patch.stopall() did not work deterministically...
Michael Foord [Tue, 15 Apr 2014 21:21:08 +0000 (17:21 -0400)]
Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times.

10 years agoRun test_urllib2_localnet tests using unittest.main().
Senthil Kumaran [Tue, 15 Apr 2014 20:36:43 +0000 (16:36 -0400)]
Run test_urllib2_localnet tests using unittest.main().

Capture threads in the setUpModule and cleanup threads in the tearDownModule.

10 years agoCloses Issue 21222.
Kushal Das [Tue, 15 Apr 2014 19:35:50 +0000 (01:05 +0530)]
Closes Issue 21222.

Passing name keyword argument to mock.create_autospec now works.

10 years ago- Issue #21223: Pass test_site/test_startup_imports when some of the extensions
doko@ubuntu.com [Tue, 15 Apr 2014 18:37:54 +0000 (20:37 +0200)]
- Issue #21223: Pass test_site/test_startup_imports when some of the extensions
  are built as builtins.

10 years agoasyncio.tasks: Make sure CoroWrapper.send proxies one argument correctly
Yury Selivanov [Tue, 15 Apr 2014 16:01:16 +0000 (12:01 -0400)]
asyncio.tasks: Make sure CoroWrapper.send proxies one argument correctly

Issue #21209.

10 years agoReverted 16efa8d27e4c after discussion with Eric.
Vinay Sajip [Tue, 15 Apr 2014 12:52:21 +0000 (13:52 +0100)]
Reverted 16efa8d27e4c after discussion with Eric.

10 years agoIssue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
Vinay Sajip [Tue, 15 Apr 2014 10:18:10 +0000 (11:18 +0100)]
Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.

10 years agoClosed issue #8931: Make alternate formatting for 'c' raise an exception. Patch by...
Eric V. Smith [Tue, 15 Apr 2014 07:05:02 +0000 (03:05 -0400)]
Closed issue #8931: Make alternate formatting for 'c' raise an exception. Patch by Torsten Landschoff.

10 years agomisc.news: Remove whitespace
Yury Selivanov [Tue, 15 Apr 2014 02:22:36 +0000 (22:22 -0400)]
misc.news: Remove whitespace

10 years agoasyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1
Yury Selivanov [Tue, 15 Apr 2014 02:21:52 +0000 (22:21 -0400)]
asyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1

Closes issue #21209.

10 years agoInvoke test_urllibnet tests using unittest.main function
Senthil Kumaran [Tue, 15 Apr 2014 01:31:41 +0000 (21:31 -0400)]
Invoke test_urllibnet tests using unittest.main function

10 years ago#15104: add backtick code markup.
R David Murray [Mon, 14 Apr 2014 22:53:51 +0000 (18:53 -0400)]
#15104: add backtick code markup.

10 years ago#17498: Defer SMTPServerDisconnected errors until the next command.
R David Murray [Mon, 14 Apr 2014 22:21:38 +0000 (18:21 -0400)]
#17498: Defer SMTPServerDisconnected errors until the next command.

Normally an SMTP server will return an error, and smtplib will then issue an
RSET to return the connection to the known starting state.  Some servers,
however, disconnect after issuing certain errors.  When we issue the RSET,
this would result in raising an SMTPServerDisconnected error, *instead* of
returning the error code the user of the library was expecting.  This fix
makes the internal RSET calls ignore the disconnection so that the error code
is returned.  The user of the library will then get the SMTPServerDisconnected
error the next time they try to talk to the server.

Patch by Kushal Das.

10 years agomerge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:48:39 +0000 (16:48 -0400)]
merge heads

10 years agoIssue #13598: Added acknowledgements to Misc/NEWS.
Eric V. Smith [Mon, 14 Apr 2014 20:46:52 +0000 (16:46 -0400)]
Issue #13598: Added acknowledgements to Misc/NEWS.

10 years agomerge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:45:49 +0000 (16:45 -0400)]
merge heads

10 years agomerge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:43:58 +0000 (16:43 -0400)]
merge heads

10 years agoIssue #13598: Add auto-numbering of replacement fields to string.Formatter.
Eric V. Smith [Mon, 14 Apr 2014 20:43:50 +0000 (16:43 -0400)]
Issue #13598: Add auto-numbering of replacement fields to string.Formatter.

10 years agoConvert urllib.request parse_proxy doctests to unittests.
Senthil Kumaran [Mon, 14 Apr 2014 20:32:20 +0000 (16:32 -0400)]
Convert urllib.request parse_proxy doctests to unittests.

10 years agoAdd conditional code for android's lack of definition of SYS_getdent64.
Gregory P. Smith [Mon, 14 Apr 2014 20:31:21 +0000 (13:31 -0700)]
Add conditional code for android's lack of definition of SYS_getdent64.
Fixes issue20307.  No Misc/NEWS entry because frankly this is an
esoteric platform for anyone to be figuring out how to cross compile
CPython for.

10 years agoIssue 17826. Setting an iterable side_effect on a mock created by create_autospec...
Michael Foord [Mon, 14 Apr 2014 20:09:42 +0000 (16:09 -0400)]
Issue 17826. Setting an iterable side_effect on a mock created by create_autospec now works

10 years ago#15104: improve the discussion of __main__.
R David Murray [Mon, 14 Apr 2014 19:04:47 +0000 (15:04 -0400)]
#15104: improve the discussion of __main__.

Patch by Sam Lucidi.

10 years agoFix the NEWS Entry item. (Thanks Stéphane Wirtel)
Senthil Kumaran [Mon, 14 Apr 2014 18:32:20 +0000 (14:32 -0400)]
Fix the NEWS Entry item. (Thanks Stéphane Wirtel)

10 years ago#18518: mention that including a return statement changes/breaks the behaviour
Andrew Kuchling [Mon, 14 Apr 2014 17:39:43 +0000 (13:39 -0400)]
#18518: mention that including a return statement changes/breaks the behaviour

10 years agodo not generate pipe names in the temporary dir
Benjamin Peterson [Mon, 14 Apr 2014 16:24:37 +0000 (12:24 -0400)]
do not generate pipe names in the temporary dir

10 years agoIssue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnect...
Senthil Kumaran [Mon, 14 Apr 2014 17:07:56 +0000 (13:07 -0400)]
Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().

Patch by Nikolaus Rath.

10 years agomerge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 16:16:07 +0000 (12:16 -0400)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 16:15:58 +0000 (12:15 -0400)]
merge 3.2

10 years agofix poor spelling
Benjamin Peterson [Mon, 14 Apr 2014 16:15:28 +0000 (12:15 -0400)]
fix poor spelling

10 years agoIssue #12546: Allow \x00 as a fill character for builtin type __format__ methods.
Eric V. Smith [Mon, 14 Apr 2014 15:55:10 +0000 (11:55 -0400)]
Issue #12546: Allow \x00 as a fill character for builtin type __format__ methods.

10 years agomerge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 15:48:21 +0000 (11:48 -0400)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 15:46:51 +0000 (11:46 -0400)]
merge 3.2

10 years agodisallow a negative idx parameter
Benjamin Peterson [Mon, 14 Apr 2014 15:45:21 +0000 (11:45 -0400)]
disallow a negative idx parameter

10 years agoMerge
Michael Foord [Mon, 14 Apr 2014 15:26:38 +0000 (11:26 -0400)]
Merge

10 years agoIssue 20968. unittest.mock.MagicMock now supports division
Michael Foord [Mon, 14 Apr 2014 15:23:48 +0000 (11:23 -0400)]
Issue 20968. unittest.mock.MagicMock now supports division

10 years agoIssue #20624: Exception docs wording tweak - clarify that it's okay to inherit from...
Mark Dickinson [Mon, 14 Apr 2014 15:20:12 +0000 (11:20 -0400)]
Issue #20624: Exception docs wording tweak - clarify that it's okay to inherit from a subclass of Exception.

10 years ago#21169: add comment and doc update for getpass change.
R David Murray [Mon, 14 Apr 2014 14:28:58 +0000 (10:28 -0400)]
#21169: add comment and doc update for getpass change.

10 years agoFix faq example with division.
Eric V. Smith [Mon, 14 Apr 2014 11:52:53 +0000 (07:52 -0400)]
Fix faq example with division.

10 years agoFix text about int() with octal numbers. Closes #21212.
Eric V. Smith [Mon, 14 Apr 2014 11:41:52 +0000 (07:41 -0400)]
Fix text about int() with octal numbers. Closes #21212.

10 years agofix sending tuples to custom generator objects with yield from (closes #21209)
Benjamin Peterson [Mon, 14 Apr 2014 03:52:01 +0000 (23:52 -0400)]
fix sending tuples to custom generator objects with yield from (closes #21209)

Debugged by Victor.

10 years agomerge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 02:31:42 +0000 (22:31 -0400)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 02:28:16 +0000 (22:28 -0400)]
merge 3.2

10 years agoin scan_once, prevent the reading of arbitrary memory when passed a negative index
Benjamin Peterson [Mon, 14 Apr 2014 02:10:38 +0000 (22:10 -0400)]
in scan_once, prevent the reading of arbitrary memory when passed a negative index

Bug reported by Guido Vranken.

10 years ago#21169: fix getpass to use replace error handler on UnicodeEncodeError.
R David Murray [Mon, 14 Apr 2014 02:07:39 +0000 (22:07 -0400)]
#21169: fix getpass to use replace error handler on UnicodeEncodeError.

If the input stream encoding couldn't encode one or more of the
non-ascii characters in the prompt, it would fail, throwing a
UnicodeEncodeError.  Now if that happens we re-encoding using the
'replace' error handler.

Patch by Kushal Das.

10 years agoIssue #20635: Added tests for Tk geometry managers.
Serhiy Storchaka [Sun, 13 Apr 2014 16:52:23 +0000 (19:52 +0300)]
Issue #20635: Added tests for Tk geometry managers.

10 years agoIssue #21171: Fixed undocumented filter API of the rot13 codec.
Serhiy Storchaka [Sun, 13 Apr 2014 14:07:04 +0000 (17:07 +0300)]
Issue #21171: Fixed undocumented filter API of the rot13 codec.
Patch by Berker Peksag.

10 years agoRemove references to the obsolete Mac Carbon modules in the GUI
Ned Deily [Sat, 12 Apr 2014 16:32:04 +0000 (09:32 -0700)]
Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.

10 years agoIssue #21170: Removed invalid parameter names from unittest doc.
Terry Jan Reedy [Fri, 11 Apr 2014 18:11:11 +0000 (14:11 -0400)]
Issue #21170: Removed invalid parameter names from unittest doc.
Patch by Kushal Das.

10 years agoIssue #21172: isinstance check relaxed from dict to collections.Mapping.
Vinay Sajip [Thu, 10 Apr 2014 06:12:19 +0000 (07:12 +0100)]
Issue #21172: isinstance check relaxed from dict to collections.Mapping.

10 years agoteach 2to3 about 'yield from'
Benjamin Peterson [Thu, 10 Apr 2014 04:23:18 +0000 (00:23 -0400)]
teach 2to3 about 'yield from'

10 years agoadd matrix multiplication operator support to 2to3
Benjamin Peterson [Thu, 10 Apr 2014 04:12:47 +0000 (00:12 -0400)]
add matrix multiplication operator support to 2to3

10 years agoIssue #21187: Fix OS X installer fail-to-build with Xcode 5.1.
Ned Deily [Wed, 9 Apr 2014 23:16:08 +0000 (16:16 -0700)]
Issue #21187: Fix OS X installer fail-to-build with Xcode 5.1.

10 years agoIssue #20644: Keep build-installer.py in sync across active versions.
Ned Deily [Wed, 9 Apr 2014 23:15:20 +0000 (16:15 -0700)]
Issue #20644: Keep build-installer.py in sync across active versions.

10 years agoissue #21190: Fix the broken docs download link
Senthil Kumaran [Wed, 9 Apr 2014 15:44:34 +0000 (11:44 -0400)]
issue #21190: Fix the broken docs download link

10 years agoIssue #21097: Update Makefile with changed install locations of test directories.
Ned Deily [Wed, 9 Apr 2014 01:54:49 +0000 (18:54 -0700)]
Issue #21097: Update Makefile with changed install locations of test directories.

10 years agoIssue #20644: OS X installer build support for documentation build changes
Ned Deily [Mon, 7 Apr 2014 19:10:21 +0000 (12:10 -0700)]
Issue #20644: OS X installer build support for documentation build changes
in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin.

10 years agodocs: Better wording for __objclass__ docs. Issue #19281
Yury Selivanov [Tue, 8 Apr 2014 18:00:35 +0000 (14:00 -0400)]
docs: Better wording for __objclass__ docs. Issue #19281

10 years agodocs: Document __objclass__. Closes #19281.
Yury Selivanov [Tue, 8 Apr 2014 16:03:07 +0000 (12:03 -0400)]
docs: Document __objclass__. Closes #19281.

Initial patch by Nick Coghlan

10 years agoinspect.signautre: Fix functools.partial support. Issue #21117
Yury Selivanov [Tue, 8 Apr 2014 15:28:02 +0000 (11:28 -0400)]
inspect.signautre: Fix functools.partial support. Issue #21117

10 years agouse imperative
Benjamin Peterson [Tue, 8 Apr 2014 14:51:20 +0000 (10:51 -0400)]
use imperative

10 years agoPySequence_Fast generally returns a list not a tuple (closes #16395)
Benjamin Peterson [Tue, 8 Apr 2014 14:48:36 +0000 (10:48 -0400)]
PySequence_Fast generally returns a list not a tuple (closes #16395)

10 years agothe name of the slot of nb_multiply not nb_mul
Benjamin Peterson [Tue, 8 Apr 2014 14:44:30 +0000 (10:44 -0400)]
the name of the slot of nb_multiply not nb_mul

10 years agofix verb (closes #21174)
Benjamin Peterson [Mon, 7 Apr 2014 23:34:33 +0000 (19:34 -0400)]
fix verb (closes #21174)

10 years agoIssue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError if
Victor Stinner [Mon, 7 Apr 2014 09:18:54 +0000 (11:18 +0200)]
Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError if
path and sock are specified at the same time.

10 years agoasyncio: Document Task.cancel() properly.
Victor Stinner [Mon, 7 Apr 2014 09:18:06 +0000 (11:18 +0200)]
asyncio: Document Task.cancel() properly.

10 years agomerge from 3.3
Senthil Kumaran [Sun, 6 Apr 2014 18:00:15 +0000 (11:00 -0700)]
merge from 3.3

10 years agominor docfix (reported at docs@python.org) trace.py argument is --count not --counts
Senthil Kumaran [Sun, 6 Apr 2014 17:59:47 +0000 (10:59 -0700)]
minor docfix (reported at docs@python.org) trace.py argument is --count not --counts

10 years agoIssue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
Victor Stinner [Fri, 4 Apr 2014 18:59:44 +0000 (20:59 +0200)]
Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
character for the "end" parameter

10 years agomake temporary read-only files writable, so rmtree can remove them (#21128)
Benjamin Peterson [Fri, 4 Apr 2014 17:55:56 +0000 (13:55 -0400)]
make temporary read-only files writable, so rmtree can remove them (#21128)

10 years agoIssue #20942: PyImport_ImportFrozenModuleObject() no longer sets
Brett Cannon [Fri, 4 Apr 2014 14:01:46 +0000 (10:01 -0400)]
Issue #20942: PyImport_ImportFrozenModuleObject() no longer sets
__file__.

This causes _frozen_importlib to no longer have __file__ set as well
as any frozen module imported using imp.init_frozen() (which is
deprecated).

10 years agomerge 3.3
Benjamin Peterson [Fri, 4 Apr 2014 13:52:05 +0000 (09:52 -0400)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Fri, 4 Apr 2014 13:51:45 +0000 (09:51 -0400)]
merge 3.2

10 years agofix versionchanged version
Benjamin Peterson [Fri, 4 Apr 2014 13:50:35 +0000 (09:50 -0400)]
fix versionchanged version

10 years agoIssue #21149: Improved thread-safety in logging cleanup during interpreter shutdown.
Vinay Sajip [Fri, 4 Apr 2014 09:51:49 +0000 (10:51 +0100)]
Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown.

10 years agoIssue 21143: Fix typo in docs for max().
Raymond Hettinger [Thu, 3 Apr 2014 15:01:22 +0000 (08:01 -0700)]
Issue 21143: Fix typo in docs for max().

10 years agoremove unused argument (closes #21135)
Benjamin Peterson [Thu, 3 Apr 2014 14:22:10 +0000 (10:22 -0400)]
remove unused argument (closes #21135)

10 years agoIssue #20375: Clarify ET's parsing of comments and processing instructions.
Eli Bendersky [Thu, 3 Apr 2014 13:14:38 +0000 (06:14 -0700)]
Issue #20375: Clarify ET's parsing of comments and processing instructions.

Based on patch by Nikolaus Rath.

10 years agomake sure to test UnicodeEncodeError, too
Benjamin Peterson [Wed, 2 Apr 2014 19:51:38 +0000 (15:51 -0400)]
make sure to test UnicodeEncodeError, too

10 years agobail in unicode error's __str__ methods if the objects are not properly initialized...
Benjamin Peterson [Wed, 2 Apr 2014 16:15:06 +0000 (12:15 -0400)]
bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134)

10 years agomake test name consistent with the rest of the file
Benjamin Peterson [Wed, 2 Apr 2014 16:05:35 +0000 (12:05 -0400)]
make test name consistent with the rest of the file

10 years agoIssue #18652: Add an itertools recipe for first_true()
Raymond Hettinger [Wed, 2 Apr 2014 10:16:42 +0000 (03:16 -0700)]
Issue #18652:  Add an itertools recipe for first_true()

10 years agoDocumentation nit. List the traditional keyword-only argument first and the default...
Raymond Hettinger [Wed, 2 Apr 2014 07:58:47 +0000 (00:58 -0700)]
Documentation nit.  List the traditional keyword-only argument first and the default last.

10 years agoIssue 21125: minor documentation tweak.
Raymond Hettinger [Wed, 2 Apr 2014 05:17:33 +0000 (22:17 -0700)]
Issue 21125: minor documentation tweak.

10 years agoupdate version changed
Benjamin Peterson [Tue, 1 Apr 2014 23:22:06 +0000 (19:22 -0400)]
update version changed

10 years agomerge 3.3 (#21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:18:48 +0000 (19:18 -0400)]
merge 3.3 (#21082)

10 years agomerge 3.2 (#21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:17:57 +0000 (19:17 -0400)]
merge 3.2 (#21082)

10 years agoremove directory mode check from makedirs (closes #21082)
Benjamin Peterson [Tue, 1 Apr 2014 23:13:18 +0000 (19:13 -0400)]
remove directory mode check from makedirs (closes #21082)

10 years agofix typo
Benjamin Peterson [Tue, 1 Apr 2014 20:27:30 +0000 (16:27 -0400)]
fix typo

10 years agosimplify check, since now there are only new-style classes
Benjamin Peterson [Tue, 1 Apr 2014 18:20:56 +0000 (14:20 -0400)]
simplify check, since now there are only new-style classes

10 years agoIssue #15067: Port 2.7 sqlite3 docs to 3.4
Zachary Ware [Tue, 1 Apr 2014 17:21:56 +0000 (12:21 -0500)]
Issue #15067: Port 2.7 sqlite3 docs to 3.4

10 years ago#16716: remove deprecation warning
Andrew Svetlov [Mon, 31 Mar 2014 23:08:25 +0000 (02:08 +0300)]
#16716: remove deprecation warning