Commit Graph

84674 Commits

Author SHA1 Message Date
Yury Selivanov 0fceaf45e2 inspect.signautre: Fix functools.partial support. Issue #21117 2014-04-08 11:28:02 -04:00
Benjamin Peterson 1d1d95bf83 merge 3.4 2014-04-08 10:51:37 -04:00
Benjamin Peterson 7ddf3eba90 use imperative 2014-04-08 10:51:20 -04:00
Benjamin Peterson 2deef0cf31 merge 3.4 (#16395) 2014-04-08 10:49:09 -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 bc91330efb merge 3.4 2014-04-08 10:44:50 -04:00
Benjamin Peterson f0f7844f38 the name of the slot of nb_multiply not nb_mul 2014-04-08 10:44:30 -04:00
Victor Stinner 4dd25256e2 Issue #21118: PyLong_AS_LONG() result type is long
Even if PyLong_AS_LONG() cannot fail, I prefer to use the right type.
2014-04-08 09:14:21 +02:00
Zachary Ware 800cae3007 Issue #21059: Temporary measure to make the Windows buildbots useful again.
Hopefully.
2014-04-07 23:33:29 -05:00
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
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
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