]>
granicus.if.org Git - python/log
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: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.
Zachary Ware [Tue, 8 Apr 2014 04:33:29 +0000 (23:33 -0500)]
Issue #21059: Temporary measure to make the Windows buildbots useful again.
Hopefully.
Benjamin Peterson [Tue, 8 Apr 2014 00:15:41 +0000 (20:15 -0400)]
fix reference leaks in the translate fast path (closes #21175)
Patch by Josh Rosenberg.
Benjamin Peterson [Mon, 7 Apr 2014 23:35:36 +0000 (19:35 -0400)]
merge 3.4 (#21174)
Benjamin Peterson [Mon, 7 Apr 2014 23:34:33 +0000 (19:34 -0400)]
fix verb (closes #21174)
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.
Victor Stinner [Mon, 7 Apr 2014 09:20:22 +0000 (11:20 +0200)]
(Merge 3.4) Issue #21155: asyncio.EventLoop.create_unix_server() now raises a
ValueError if path and sock are specified at the same time. asyncio: Document
Task.cancel() properly.
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.
Victor Stinner [Mon, 7 Apr 2014 09:18:06 +0000 (11:18 +0200)]
asyncio: Document Task.cancel() properly.
Senthil Kumaran [Sun, 6 Apr 2014 18:00:49 +0000 (11:00 -0700)]
merge from 3.4
Senthil Kumaran [Sun, 6 Apr 2014 18:00:15 +0000 (11:00 -0700)]
merge from 3.3
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
Victor Stinner [Sat, 5 Apr 2014 13:35:01 +0000 (15:35 +0200)]
Issue #21118: str.translate() now raises a ValueError, not a TypeError, if the
replacement character is bigger than U+10ffff code point.
Victor Stinner [Sat, 5 Apr 2014 12:27:07 +0000 (14:27 +0200)]
Issue #21118: Optimize also str.translate() for ASCII => ASCII deletion
Victor Stinner [Sat, 5 Apr 2014 09:56:37 +0000 (11:56 +0200)]
Issue #21118: Add unit test for invalid character replacement (code point higher than U+10ffff)
Victor Stinner [Sat, 5 Apr 2014 09:44:04 +0000 (11:44 +0200)]
Issue #21118: Optimize str.translate() for ASCII => ASCII translation
Victor Stinner [Fri, 4 Apr 2014 22:17:51 +0000 (00:17 +0200)]
Issue #21118: Add more unit tests on str.translate()
Victor Stinner [Fri, 4 Apr 2014 22:15:52 +0000 (00:15 +0200)]
Issue #21118: Remove unused variable
Mark Dickinson [Sat, 5 Apr 2014 08:29:00 +0000 (09:29 +0100)]
Issue #21136: Avoid unnecessary normalization in Fractions resulting from power and other operations.
Victor Stinner [Fri, 4 Apr 2014 19:05:46 +0000 (21:05 +0200)]
Null merge with Python 3.4
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
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)