]>
granicus.if.org Git - python/log
Senthil Kumaran [Mon, 14 Apr 2014 20:44:27 +0000 (16:44 -0400)]
merge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:43:58 +0000 (16:43 -0400)]
merge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:37:57 +0000 (16:37 -0400)]
merge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:33:21 +0000 (16:33 -0400)]
merge 3.4
Convert urllib.request parse_proxy doctests to unittests.
Gregory P. Smith [Mon, 14 Apr 2014 20:32:35 +0000 (13:32 -0700)]
merge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:32:20 +0000 (16:32 -0400)]
Convert urllib.request parse_proxy doctests to unittests.
Gregory P. Smith [Mon, 14 Apr 2014 20:31:55 +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.
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.
Michael Foord [Mon, 14 Apr 2014 20:25:20 +0000 (16:25 -0400)]
Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names.
Michael Foord [Mon, 14 Apr 2014 20:10:02 +0000 (16:10 -0400)]
Merge
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
Andrew Kuchling [Mon, 14 Apr 2014 19:08:18 +0000 (15:08 -0400)]
#10481: describe universal_newlines' effect on communicate()/check_output() output (alternately bytes or strings)
Patch by Sam Kimbrel.
R David Murray [Mon, 14 Apr 2014 19:05:12 +0000 (15:05 -0400)]
Merge: #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.
Senthil Kumaran [Mon, 14 Apr 2014 18:33:14 +0000 (14:33 -0400)]
merge 3.4
Senthil Kumaran [Mon, 14 Apr 2014 18:32:20 +0000 (14:32 -0400)]
Fix the NEWS Entry item. (Thanks Stéphane Wirtel)
Andrew Kuchling [Mon, 14 Apr 2014 18:19:52 +0000 (14:19 -0400)]
#11983: update comment to describe which fields are used and why.
Original patch by Caelyn McAulay; modified after discussion w/ her at
the PyCon 2014 sprints.
Andrew Kuchling [Mon, 14 Apr 2014 17:52:34 +0000 (13:52 -0400)]
Merge from 3.4
Andrew Kuchling [Mon, 14 Apr 2014 17:39:43 +0000 (13:39 -0400)]
#18518: mention that including a return statement changes/breaks the behaviour
Benjamin Peterson [Mon, 14 Apr 2014 17:13:01 +0000 (13:13 -0400)]
merge 3.4
Senthil Kumaran [Mon, 14 Apr 2014 17:10:05 +0000 (13:10 -0400)]
merge from 3.4
Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel()
Patch by Nikolaus Rath.
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.
Eric V. Smith [Mon, 14 Apr 2014 16:58:07 +0000 (12:58 -0400)]
Issue #20480: Add ipaddress.reverse_pointer. Patch by Leon Weber.
Benjamin Peterson [Mon, 14 Apr 2014 16:24:37 +0000 (12:24 -0400)]
do not generate pipe names in the temporary dir
Benjamin Peterson [Mon, 14 Apr 2014 16:16:18 +0000 (12:16 -0400)]
merge 3.4
Benjamin Peterson [Mon, 14 Apr 2014 16:16:07 +0000 (12:16 -0400)]
merge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 16:15:58 +0000 (12:15 -0400)]
merge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 16:15:28 +0000 (12:15 -0400)]
fix poor spelling
Eric V. Smith [Mon, 14 Apr 2014 16:08:21 +0000 (12:08 -0400)]
Closes issue #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.
Benjamin Peterson [Mon, 14 Apr 2014 15:48:29 +0000 (11:48 -0400)]
merge 3.4
Benjamin Peterson [Mon, 14 Apr 2014 15:48:21 +0000 (11:48 -0400)]
merge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 15:46:51 +0000 (11:46 -0400)]
merge 3.2
Benjamin Peterson [Mon, 14 Apr 2014 15:45:21 +0000 (11:45 -0400)]
disallow a negative idx parameter
Michael Foord [Mon, 14 Apr 2014 15:26:38 +0000 (11:26 -0400)]
Merge
Michael Foord [Mon, 14 Apr 2014 15:25:15 +0000 (11:25 -0400)]
Merge
Michael Foord [Mon, 14 Apr 2014 15:24:38 +0000 (11:24 -0400)]
Merge
Michael Foord [Mon, 14 Apr 2014 15:23:48 +0000 (11:23 -0400)]
Issue 20968. unittest.mock.MagicMock now supports division
Mark Dickinson [Mon, 14 Apr 2014 15:20:45 +0000 (11:20 -0400)]
Issue #20624: Merge exception docs tweak from 3.4 branch.
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.
R David Murray [Mon, 14 Apr 2014 14:30:43 +0000 (10:30 -0400)]
Merge: #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.
Eric V. Smith [Mon, 14 Apr 2014 11:53:33 +0000 (07:53 -0400)]
Merge 3.4: Fix faq example with division.
Eric V. Smith [Mon, 14 Apr 2014 11:52:53 +0000 (07:52 -0400)]
Fix faq example with division.
Eric V. Smith [Mon, 14 Apr 2014 11:46:21 +0000 (07:46 -0400)]
Merge 3.4: Fix 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.
Benjamin Peterson [Mon, 14 Apr 2014 03:52:43 +0000 (23:52 -0400)]
merge 3.4 (#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.
Benjamin Peterson [Mon, 14 Apr 2014 02:32:12 +0000 (22:32 -0400)]
merge 3.4
Benjamin Peterson [Mon, 14 Apr 2014 02:31:42 +0000 (22:31 -0400)]
merge 3.3
Benjamin Peterson [Mon, 14 Apr 2014 02:28:16 +0000 (22:28 -0400)]
merge 3.2
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.
R David Murray [Mon, 14 Apr 2014 02:09:29 +0000 (22:09 -0400)]
Mierge #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.
Benjamin Peterson [Sun, 13 Apr 2014 23:52:14 +0000 (19:52 -0400)]
correct sphinx mark up for cmdline options (closes #21210)
Serhiy Storchaka [Sun, 13 Apr 2014 16:55:08 +0000 (19:55 +0300)]
Issue #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.
Serhiy Storchaka [Sun, 13 Apr 2014 14:08:51 +0000 (17:08 +0300)]
Issue #21171: Fixed undocumented filter API of the rot13 codec.
Patch by Berker Peksag.
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.
Ned Deily [Sat, 12 Apr 2014 16:33:05 +0000 (09:33 -0700)]
Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.
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.
Benjamin Peterson [Fri, 11 Apr 2014 19:37:18 +0000 (15:37 -0400)]
test the change of #21193 correctly
Mark Dickinson [Fri, 11 Apr 2014 18:34:40 +0000 (14:34 -0400)]
Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than TypeError. Patch by Josh Rosenberg.
Terry Jan Reedy [Fri, 11 Apr 2014 18:11:34 +0000 (14:11 -0400)]
Merge with 3.4
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.
Mark Dickinson [Thu, 10 Apr 2014 13:29:39 +0000 (09:29 -0400)]
Issue #20539: Improve math.factorial error messages and types for large inputs.
- Better message for the OverflowError in large positive inputs.
- Changed exception type from OverflowError to ValueError for large negative inputs.
Raymond Hettinger [Thu, 10 Apr 2014 07:18:01 +0000 (01:18 -0600)]
Update comment for the comparison table to use measured results rather than predicted.
Vinay Sajip [Thu, 10 Apr 2014 06:14:01 +0000 (07:14 +0100)]
Closes #21172: Merged fix from 3.4.
Vinay Sajip [Thu, 10 Apr 2014 06:12:19 +0000 (07:12 +0100)]
Issue #21172: isinstance check relaxed from dict to collections.Mapping.
Benjamin Peterson [Thu, 10 Apr 2014 04:24:47 +0000 (00:24 -0400)]
merge 3.4
Benjamin Peterson [Thu, 10 Apr 2014 04:23:18 +0000 (00:23 -0400)]
teach 2to3 about 'yield from'
Benjamin Peterson [Thu, 10 Apr 2014 04:17:48 +0000 (00:17 -0400)]
teach unparse about matrix multiplication
Benjamin Peterson [Thu, 10 Apr 2014 04:15:34 +0000 (00:15 -0400)]
merge 3.4
Benjamin Peterson [Thu, 10 Apr 2014 04:12:47 +0000 (00:12 -0400)]
add matrix multiplication operator support to 2to3
Benjamin Peterson [Thu, 10 Apr 2014 03:55:56 +0000 (23:55 -0400)]
PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)
Raymond Hettinger [Thu, 10 Apr 2014 01:53:45 +0000 (19:53 -0600)]
Add algorithmic notes for nsmallest() and nlargest().
Ned Deily [Wed, 9 Apr 2014 23:22:19 +0000 (16:22 -0700)]
Issue #21187: merge with 3.4
Ned Deily [Wed, 9 Apr 2014 23:20:08 +0000 (16:20 -0700)]
Issue #20644: merge with 3.4
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.
Ned Deily [Wed, 9 Apr 2014 23:15:20 +0000 (16:15 -0700)]
Issue #20644: Keep build-installer.py in sync across active versions.
Senthil Kumaran [Wed, 9 Apr 2014 15:45:14 +0000 (11:45 -0400)]
merge from 3.4
Senthil Kumaran [Wed, 9 Apr 2014 15:44:34 +0000 (11:44 -0400)]
issue #21190: Fix the broken docs download link
Ned Deily [Wed, 9 Apr 2014 01:57:10 +0000 (18:57 -0700)]
Issue #21097: merge from 3.4
Ned Deily [Wed, 9 Apr 2014 01:54:49 +0000 (18:54 -0700)]
Issue #21097: Update Makefile with changed install locations of test directories.
Ned Deily [Wed, 9 Apr 2014 00:47:48 +0000 (17:47 -0700)]
Issue #20644: merge from 3.4
Yury Selivanov [Tue, 8 Apr 2014 18:58:35 +0000 (14:58 -0400)]
Merge 3.4
Yury Selivanov [Tue, 8 Apr 2014 18:01:12 +0000 (14:01 -0400)]
docs: 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
Yury Selivanov [Tue, 8 Apr 2014 16:04:04 +0000 (12:04 -0400)]
docs: Document __objclass__. Closes #19281.
Initial patch by Nick Coghlan
Yury Selivanov [Tue, 8 Apr 2014 16:03:07 +0000 (12:03 -0400)]
docs: Document __objclass__. Closes #19281.
Initial patch by Nick Coghlan
Yury Selivanov [Tue, 8 Apr 2014 15:46:50 +0000 (11:46 -0400)]
inspect: Make Signature and Parameter hashable. Issue #20334.
Yury Selivanov [Tue, 8 Apr 2014 15:30:45 +0000 (11:30 -0400)]
inspect.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
Benjamin Peterson [Tue, 8 Apr 2014 14:51:37 +0000 (10:51 -0400)]
merge 3.4
Benjamin Peterson [Tue, 8 Apr 2014 14:51:20 +0000 (10:51 -0400)]
use imperative
Benjamin Peterson [Tue, 8 Apr 2014 14:49:09 +0000 (10:49 -0400)]
merge 3.4 (#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)
Benjamin Peterson [Tue, 8 Apr 2014 14:44:50 +0000 (10:44 -0400)]
merge 3.4
Benjamin Peterson [Tue, 8 Apr 2014 14:44:30 +0000 (10:44 -0400)]
the name of the slot of nb_multiply not nb_mul
Victor Stinner [Tue, 8 Apr 2014 07:14:21 +0000 (09:14 +0200)]
Issue #21118: PyLong_AS_LONG() result type is long
Even if PyLong_AS_LONG() cannot fail, I prefer to use the right type.