Commit Graph

83693 Commits

Author SHA1 Message Date
Benjamin Peterson 29352c436c add missing test assertion (closes #20080)
Patch by Vajrasky Kok.
2014-02-15 13:19:59 -05:00
Benjamin Peterson 4267869ad8 merge 3.3 (#20507) 2014-02-15 13:03:20 -05:00
Benjamin Peterson 9743b2c2b5 give non-iterable TypeError a message (closes #20507) 2014-02-15 13:02:52 -05:00
Ezio Melotti 504f6e8653 #19890: merge with 3.3. 2014-02-15 16:59:39 +02:00
Ezio Melotti e426b71789 #19890: fix typo in multiprocessing docs. Patch by Mike Short. 2014-02-15 16:58:52 +02:00
Ezio Melotti 48eabbeffd #20634: merge with 3.3. 2014-02-15 13:01:41 +02:00
Ezio Melotti f4e998364e #20634: fix typo in IDLE README noticed by Saimadhav Heblikar. 2014-02-15 13:01:08 +02:00
Nick Coghlan e2df5cfcbd Issue #19744: Handle missing SSL/TLS in ensurepip
- now also allows POSIX installation with SSL/TLS missing
- a goal for pip 1.6 is to allow local use without SSL/TLS
2014-02-15 09:14:54 +10:00
Ned Deily b7bb675d3c Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust. 2014-02-13 22:53:42 -08:00
Ned Deily b24f481ab4 Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust. 2014-02-13 22:50:42 -08:00
Benjamin Peterson 0714b8b6ab set line and column numbers for keyword-only arg nodes (closes #20619) 2014-02-13 19:22:14 -05:00
Victor Stinner 15054c16c8 Issue #20526, #19466: Revert changes of issue #19466 which introduces a
regression: don't clear anymore the state of Python threads early during the
Python shutdown.
2014-02-13 12:48:54 +01:00
Victor Stinner e755fba2d1 Issue #20599: Don't clear environment in test_cleanup() of test_builtin 2014-02-13 10:54:32 +01:00
Victor Stinner 1ff0ee0be2 Fix test_asyncio/test_events.py: skip IPv6 if IPv6 is disabled on the host 2014-02-13 10:46:05 +01:00
Serhiy Storchaka 422794767b Merge heads 2014-02-13 10:49:30 +02:00
Serhiy Storchaka 1392f68e0e Fixed typo in previous commit (issue #6815). 2014-02-13 10:45:48 +02:00
Serhiy Storchaka ffadbb7ee7 Fixed typo in previous commit (issue #6815). 2014-02-13 10:45:14 +02:00
Victor Stinner 28773465e6 ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
the address is not resolved (hostname instead of an IP address) for AF_INET and
AF_INET6 address families.
2014-02-13 09:24:37 +01:00
Serhiy Storchaka 7dfaa27fdd Issue #6815: os.path.expandvars() now supports non-ASCII environment
variables names and values.
2014-02-13 10:14:48 +02:00
Serhiy Storchaka dbb101909d Issue #6815: os.path.expandvars() now supports non-ASCII environment
variables names and values.
2014-02-13 10:13:53 +02:00
Guido van Rossum b58f053e48 asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue #20566. 2014-02-12 17:58:19 -08:00
Yury Selivanov ee6dc425c8 asyncio.events: Use __slots__ in Handle and TimerHandle 2014-02-12 17:01:52 -05:00
R David Murray 85489f9031 whatsnew: 'other improvements' and 'optimizations' belong under CPython heading. 2014-02-12 13:41:01 -05:00
R David Murray 5d411a1a49 whatsnew: PyUnicode_FromFormat width/precision, thread cleanup after fork. 2014-02-12 13:39:11 -05:00
R David Murray af7d2c4917 whatsnew: LOAD_CLASSDEREF, -X showrefcount 2014-02-12 13:00:36 -05:00
Victor Stinner 8da4fb5a1c Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin
On Windows, the codec of sys.stdout is implemented in Python. At exit, the
codec may be unloaded before the destructor tries to write something to
sys.stdout.
2014-02-12 18:27:55 +01:00
Serhiy Storchaka 76a6326068 Try to fix test_cleanup (issue #20599). 2014-02-12 12:40:22 +02:00
Serhiy Storchaka 5bdfc51950 Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.
2014-02-12 10:55:07 +02:00
Serhiy Storchaka 61e2493b83 Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.
Based on patch by Stephen Tu.
2014-02-12 10:52:35 +02:00
Serhiy Storchaka 226c57100c Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.
2014-02-12 09:55:45 +02:00
Serhiy Storchaka 1f9d11b986 Issue #19255: Clear error after failed PyDict_SetItem() on shutdown.
This silences a Coverity complain.
2014-02-12 09:55:01 +02:00
R David Murray 2167e29d31 whatsnew: os.path.samestat on windows, keyword defaults evaluation order. 2014-02-12 00:02:34 -05:00
R David Murray db2d8a4ca5 whatsnew: command.com support gone, int *base* can be __index__ but not float. 2014-02-11 23:34:14 -05:00
Ned Deily a6ec5cf825 Add references for Xcode and the Python Developer's Guideto the internal Mac/README file. 2014-02-11 17:59:47 -08:00
Ned Deily 892f4f9360 Add references for Xcode and the Python Developer's Guide
to the internal Mac/README file.
2014-02-11 17:57:37 -08:00
R David Murray d630e79cc7 whatsnew: object.__format__ raises TypeError on non-empty string.
See issues #7994 and #9856.  I also modified with wording of the format doc
entry to better match what really happens, and added a versionchanged to the
datamodel object.__format__ section.
2014-02-11 18:34:22 -05:00
Victor Stinner 13b493e8a7 Issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD older than
FreeBSD 8
2014-02-11 18:40:56 +01:00
R David Murray 540227214c whatsnew: undocumented Popen.wait endtime is deprecated. 2014-02-11 12:40:18 -05:00
Gregory P. Smith bbe3335f65 Deprecate Popen.wait()'s undocumented endtime parameter. issue20572. 2014-02-11 09:21:03 -08:00
Victor Stinner 2371e25517 Issue #20505: Remove debug code 2014-02-11 17:53:47 +01:00
Benjamin Peterson e18e787e70 merge 3.3 (#20594) 2014-02-11 10:19:12 -05:00
Benjamin Peterson 932bba33f2 avoid name clash with posix_close (closes #20594) 2014-02-11 10:16:16 -05:00
Benjamin Peterson 40be9e5100 remove dynamic initializer lists for c89 compliance (closes #20595) 2014-02-11 10:09:27 -05:00
R David Murray 801fe934d9 whatsnew: __complex__ may not return float, .so may have multiple python modules
Also a NEWS wording fixup.
2014-02-11 08:13:10 -05:00
Victor Stinner eb74876e99 asyncio, Tulip issue 131: as_completed() and wait() now raises a TypeError if
the list of futures is not a list but a Future, Task or coroutine object
2014-02-11 11:54:08 +01:00
Victor Stinner 4e8d2f25e2 asyncio, Tulip issue 130: Add more checks on subprocess_exec/subprocess_shell
parameters
2014-02-11 11:44:56 +01:00
Victor Stinner a125497ea3 asyncio, Tulip issue 126: call_soon(), call_soon_threadsafe(), call_later(),
call_at() and run_in_executor() now raise a TypeError if the callback is a
coroutine function.
2014-02-11 11:34:30 +01:00
Victor Stinner 1db2ba3a92 Issue #20505: use also the monotonic time to decide if asyncio debug traces
should be printed
2014-02-11 10:26:53 +01:00
Victor Stinner 5d1ea04b06 Issue #20505: Oops, only print debug info if selector.select(timeout) took less
than timeout
2014-02-11 10:10:41 +01:00
Victor Stinner 7bff8e1e2b Issue #20505: Improve debug info in asyncio event loop 2014-02-11 10:08:08 +01:00