Commit graph

84514 commits

Author SHA1 Message Date
Benjamin Peterson
1365de764e fix reference leaks in the translate fast path (closes #21175)
Patch by Josh Rosenberg.
2014-04-07 20:15:41 -04:00
Benjamin Peterson
fa7e11f8c4 merge 3.4 (#21174) 2014-04-07 19:35:36 -04:00
Benjamin Peterson
222ef82827 fix verb (closes #21174) 2014-04-07 19:34:33 -04:00
Victor Stinner
7b2262fe78 (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.
2014-04-07 11:20:22 +02: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
1b5643fcb4 merge from 3.4 2014-04-06 11:00:49 -07: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
e49a95fe05 Issue #21118: str.translate() now raises a ValueError, not a TypeError, if the
replacement character is bigger than U+10ffff code point.
2014-04-05 15:35:01 +02:00
Victor Stinner
872b291b96 Issue #21118: Optimize also str.translate() for ASCII => ASCII deletion 2014-04-05 14:27:07 +02:00
Victor Stinner
4ff33af257 Issue #21118: Add unit test for invalid character replacement (code point higher than U+10ffff) 2014-04-05 11:56:37 +02:00
Victor Stinner
89a76abf20 Issue #21118: Optimize str.translate() for ASCII => ASCII translation 2014-04-05 11:44:04 +02:00
Victor Stinner
5a29f25843 Issue #21118: Add more unit tests on str.translate() 2014-04-05 00:17:51 +02:00
Victor Stinner
8a4422e78d Issue #21118: Remove unused variable 2014-04-05 00:15:52 +02:00
Mark Dickinson
3c286e2e0d Issue #21136: Avoid unnecessary normalization in Fractions resulting from power and other operations. 2014-04-05 09:29:00 +01:00
Victor Stinner
2a32200838 Null merge with Python 3.4 2014-04-04 21:05:46 +02: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
Victor Stinner
1194ea020c Issue #21118: Use _PyUnicodeWriter API in str.translate() to simplify and
factorize the code
2014-04-04 19:37:40 +02:00
Victor Stinner
d129eeb303 Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format
character for the "end" parameter
2014-04-04 20:59:44 +02:00
Benjamin Peterson
3253fb1cb3 merge 3.4 (#21128) 2014-04-04 13:59:46 -04:00
Brett Cannon
a04dbe4fe7 Issue #17621: Introduce importlib.util.LazyLoader. 2014-04-04 13:53:38 -04:00
Giampaolo Rodola'
f22b2f0cf4 update Misc/NEWS 2014-04-04 17:17:36 +02:00
Victor Stinner
a2b5bf01e7 Issue #21076: sigpending() is not available on Windows 2014-04-04 16:57:24 +02:00
Brett Cannon
be9acefc6b Finish up signal -> _signal change 2014-04-04 10:36:43 -04:00
Victor Stinner
d006af1899 Issue #21076: the C signal module has been renamed to _signal 2014-04-04 16:30:04 +02:00
Brett Cannon
815a6f38a6 merge along w/ fix for issue #2107 (commit c9239171e429) 2014-04-04 10:20:28 -04:00
Brett Cannon
e7ef805833 merge of fix for issue #20942 2014-04-04 10:03:42 -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
faf1965a06 merge 3.4 2014-04-04 09:52:18 -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
Giampaolo Rodola'
e09fb7198a fix #21076: turn signal module constants into enums 2014-04-04 15:34:17 +02:00
Serhiy Storchaka
bcc174615c Issue #20636: Improved the repr of Tkinter widgets. 2014-04-04 15:45:02 +03:00
Serhiy Storchaka
578c9211d6 Issue #19505: The items, keys, and values views of OrderedDict now support
reverse iteration using reversed().
2014-04-04 15:19:36 +03:00
Vinay Sajip
3d1e2e4cbb Closes #21149: Improved thread-safety in logging cleanup during interpreter shutdown. 2014-04-04 10:57:25 +01: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
a5a294e873 merge 2014-04-03 08:01:44 -07:00
Raymond Hettinger
b30b34c1aa Issue 21143: Fix typo in docs for max(). 2014-04-03 08:01:22 -07:00
Benjamin Peterson
2995f8a798 merge 3.4 (#21135) 2014-04-03 10:22:22 -04:00
Benjamin Peterson
4d59a78786 remove unused argument (closes #21135) 2014-04-03 10:22:10 -04:00
Eli Bendersky
10fbf183b3 Issue #20375: Clarify ET's parsing of comments and processing instructions.
Based on patch by Nikolaus Rath.
2014-04-03 06:15:28 -07: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
9f0218bebe merge 3.4 2014-04-02 15:52:04 -04:00
Benjamin Peterson
e331121e1f make sure to test UnicodeEncodeError, too 2014-04-02 15:51:38 -04:00
Benjamin Peterson
d818fc9205 merge 3.4 (#21134) 2014-04-02 12:16:55 -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
f93c27eb53 merge 3.4 2014-04-02 12:05:41 -04:00