Commit Graph

84448 Commits

Author SHA1 Message Date
Eric V. Smith fc9a4d828e Fix text about int() with octal numbers. Closes #21212. 2014-04-14 07:41:52 -04:00
Benjamin Peterson f6e50b4a81 fix sending tuples to custom generator objects with yield from (closes #21209)
Debugged by Victor.
2014-04-13 23:52:01 -04:00
Benjamin Peterson 584f5cbf16 merge 3.3 2014-04-13 22:31:42 -04:00
Benjamin Peterson 156285c35f merge 3.2 2014-04-13 22:28:16 -04:00
Benjamin Peterson 99b5afab74 in scan_once, prevent the reading of arbitrary memory when passed a negative index
Bug reported by Guido Vranken.
2014-04-13 22:10:38 -04:00
R David Murray d5aa487cce #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.
2014-04-13 22:07:39 -04:00
Serhiy Storchaka e544f9a27e Issue #20635: Added tests for Tk geometry managers. 2014-04-13 19:52:23 +03:00
Serhiy Storchaka a39938ff44 Issue #21171: Fixed undocumented filter API of the rot13 codec.
Patch by Berker Peksag.
2014-04-13 17:07:04 +03:00
Ned Deily ecd9e8ac67 Remove references to the obsolete Mac Carbon modules in the GUI
section of the FAQ.
2014-04-12 09:32:04 -07:00
Terry Jan Reedy f98021cff2 Issue #21170: Removed invalid parameter names from unittest doc.
Patch by Kushal Das.
2014-04-11 14:11:11 -04:00
Vinay Sajip 1b7611405d Issue #21172: isinstance check relaxed from dict to collections.Mapping. 2014-04-10 07:12:19 +01:00
Benjamin Peterson 0654be18b3 teach 2to3 about 'yield from' 2014-04-10 00:23:18 -04:00
Benjamin Peterson 4ab92c800a add matrix multiplication operator support to 2to3 2014-04-10 00:12:47 -04:00
Ned Deily 0134a35bac Issue #21187: Fix OS X installer fail-to-build with Xcode 5.1. 2014-04-09 16:16:08 -07:00
Ned Deily 9978a9357a Issue #20644: Keep build-installer.py in sync across active versions. 2014-04-09 16:15:20 -07:00
Senthil Kumaran f3ddcc9ba7 issue #21190: Fix the broken docs download link 2014-04-09 11:44:34 -04:00
Ned Deily 490e53b853 Issue #21097: Update Makefile with changed install locations of test directories. 2014-04-08 18:54:49 -07:00
Ned Deily 7e60f51486 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.
2014-04-07 12:10:21 -07:00
Yury Selivanov af8a4dfb04 docs: Better wording for __objclass__ docs. Issue #19281 2014-04-08 14:00:35 -04:00
Yury Selivanov d3f918ca44 docs: Document __objclass__. Closes #19281.
Initial patch by Nick Coghlan
2014-04-08 12:03:07 -04:00
Yury Selivanov 0fceaf45e2 inspect.signautre: Fix functools.partial support. Issue #21117 2014-04-08 11:28:02 -04:00
Benjamin Peterson 7ddf3eba90 use imperative 2014-04-08 10:51:20 -04:00
Benjamin Peterson ce0700ae7a PySequence_Fast generally returns a list not a tuple (closes #16395) 2014-04-08 10:48:36 -04:00
Benjamin Peterson f0f7844f38 the name of the slot of nb_multiply not nb_mul 2014-04-08 10:44:30 -04:00
Benjamin Peterson 222ef82827 fix verb (closes #21174) 2014-04-07 19:34:33 -04:00
Victor Stinner 1fd03a4a22 Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError if
path and sock are specified at the same time.
2014-04-07 11:18:54 +02:00
Victor Stinner 4bd652a276 asyncio: Document Task.cancel() properly. 2014-04-07 11:18:06 +02:00
Senthil Kumaran 6d6ec25e04 merge from 3.3 2014-04-06 11:00:15 -07:00
Senthil Kumaran f5c34054f9 minor docfix (reported at docs@python.org) trace.py argument is --count not --counts 2014-04-06 10:59:47 -07:00
Victor Stinner 69598d4ccf Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
character for the "end" parameter
2014-04-04 20:59:44 +02:00
Benjamin Peterson 511e222e0a make temporary read-only files writable, so rmtree can remove them (#21128) 2014-04-04 13:55:56 -04:00
Brett Cannon 18fc4e70f3 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).
2014-04-04 10:01:46 -04:00
Benjamin Peterson 1cd9825457 merge 3.3 2014-04-04 09:52:05 -04:00
Benjamin Peterson 7e90bc4433 merge 3.2 2014-04-04 09:51:45 -04:00
Benjamin Peterson 80e6af1f61 fix versionchanged version 2014-04-04 09:50:35 -04:00
Vinay Sajip 156307bfd6 Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown. 2014-04-04 10:51:49 +01:00
Raymond Hettinger b30b34c1aa Issue 21143: Fix typo in docs for max(). 2014-04-03 08:01:22 -07:00
Benjamin Peterson 4d59a78786 remove unused argument (closes #21135) 2014-04-03 10:22:10 -04:00
Eli Bendersky 0bd22d4277 Issue #20375: Clarify ET's parsing of comments and processing instructions.
Based on patch by Nikolaus Rath.
2014-04-03 06:14:38 -07:00
Benjamin Peterson e331121e1f make sure to test UnicodeEncodeError, too 2014-04-02 15:51:38 -04:00
Benjamin Peterson 9b09ba1234 bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134) 2014-04-02 12:15:06 -04:00
Benjamin Peterson 24dfb05d4f make test name consistent with the rest of the file 2014-04-02 12:05:35 -04:00
Raymond Hettinger 31b26f637a Issue #18652: Add an itertools recipe for first_true() 2014-04-02 03:16:42 -07:00
Raymond Hettinger f4284e45d0 Documentation nit. List the traditional keyword-only argument first and the default last. 2014-04-02 00:58:47 -07:00
Raymond Hettinger da4bf8f16a Issue 21125: minor documentation tweak. 2014-04-01 22:17:33 -07:00
Benjamin Peterson 1acc69c650 update version changed 2014-04-01 19:22:06 -04:00
Benjamin Peterson 9dc203fff9 merge 3.3 (#21082) 2014-04-01 19:18:48 -04:00
Benjamin Peterson 4717e2112b merge 3.2 (#21082) 2014-04-01 19:17:57 -04:00
Benjamin Peterson ee5f1c13d1 remove directory mode check from makedirs (closes #21082) 2014-04-01 19:13:18 -04:00
Benjamin Peterson 78c8538461 fix typo 2014-04-01 16:27:30 -04:00