]>
granicus.if.org Git - python/log
Kushal Das [Tue, 15 Apr 2014 18:20:06 +0000 (23:50 +0530)]
Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.
It includes required changes in Makefile.pre.in and configure.ac
among other files.
Yury Selivanov [Tue, 15 Apr 2014 16:01:57 +0000 (12:01 -0400)]
merge 3.4
Yury Selivanov [Tue, 15 Apr 2014 16:01:44 +0000 (12:01 -0400)]
asyncio.tasks: Make sure CoroWrapper.send proxies one argument correctly
Issue #21209.
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.
Vinay Sajip [Tue, 15 Apr 2014 13:24:53 +0000 (14:24 +0100)]
Closes #21203: Updated fileConfig and dictConfig to remove inconsistencies. Thanks to Jure Koren for the patch.
Vinay Sajip [Tue, 15 Apr 2014 12:56:36 +0000 (13:56 +0100)]
Closes #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
Vinay Sajip [Tue, 15 Apr 2014 12:52:21 +0000 (13:52 +0100)]
Reverted
16efa8d27e4c after discussion with Eric.
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.
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.
Yury Selivanov [Tue, 15 Apr 2014 02:27:27 +0000 (22:27 -0400)]
merge 3.4
Yury Selivanov [Tue, 15 Apr 2014 02:25:24 +0000 (22:25 -0400)]
misc.news: Remove trailing whitespace
Yury Selivanov [Tue, 15 Apr 2014 02:24:51 +0000 (22:24 -0400)]
syncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1
Closes issue #21209.
Yury Selivanov [Tue, 15 Apr 2014 02:22:36 +0000 (22:22 -0400)]
misc.news: Remove whitespace
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.
Senthil Kumaran [Tue, 15 Apr 2014 01:32:13 +0000 (21:32 -0400)]
merge 3.4
Senthil Kumaran [Tue, 15 Apr 2014 01:31:41 +0000 (21:31 -0400)]
Invoke test_urllibnet tests using unittest.main function
R David Murray [Tue, 15 Apr 2014 00:28:36 +0000 (20:28 -0400)]
#15916: if there are no docstrings, make empty suite, not an error.
This makes doctest work like unittest: if the test case is empty, that
just means there are zero tests run, it's not an error. The existing
behavior was broken, since it only gave an error if there were *no*
docstrings, and zero tests run if there were docstrings but none of them
contained tests. So this makes it self-consistent as well.
Patch by Glenn Jones.
R David Murray [Mon, 14 Apr 2014 22:54:21 +0000 (18:54 -0400)]
Merge: #15104: add backtick code markup.
R David Murray [Mon, 14 Apr 2014 22:53:51 +0000 (18:53 -0400)]
#15104: add backtick code markup.
R David Murray [Mon, 14 Apr 2014 22:22:00 +0000 (18:22 -0400)]
Merge #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.
Senthil Kumaran [Mon, 14 Apr 2014 20:49:07 +0000 (16:49 -0400)]
merge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:48:39 +0000 (16:48 -0400)]
merge heads
Senthil Kumaran [Mon, 14 Apr 2014 20:47:05 +0000 (16:47 -0400)]
merge heads
Eric V. Smith [Mon, 14 Apr 2014 20:46:52 +0000 (16:46 -0400)]
Issue #13598: Added acknowledgements to Misc/NEWS.
Senthil Kumaran [Mon, 14 Apr 2014 20:45:49 +0000 (16:45 -0400)]
merge heads
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
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.
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