Yury Selivanov
3cb9914488
asyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin
2014-02-18 18:41:13 -05:00
Yury Selivanov
569efa2e4b
asyncio: New error handling API. Issue #20681 .
2014-02-18 18:02:19 -05:00
Victor Stinner
6acc5e1330
Issue #20625 : Fix compilation issue
2014-02-18 22:07:56 +01:00
Ethan Furman
dc87052c0c
Close issue20653: allow Enum subclasses to override __reduce_ex__
2014-02-18 12:37:12 -08:00
Guido van Rossum
e3e786c963
asyncio: Make tests pass on Windows.
2014-02-18 10:24:30 -08:00
Yury Selivanov
026019f89b
Mangle __parameters in __annotations__ dict properly. Issue #20625 .
2014-02-18 12:49:41 -05:00
Zachary Ware
ee227ae7cf
Issue #20609 : Merge with 3.3.
2014-02-18 11:35:15 -06:00
Yury Selivanov
907f0172e5
Misc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS.
2014-02-18 12:21:57 -05:00
Yury Selivanov
b057c52b01
asyncio: Add support for UNIX Domain Sockets.
2014-02-18 12:15:06 -05:00
Victor Stinner
fd9d374ae9
Issue #20493 : Document that asyncio should not exceed one day
2014-02-18 09:37:43 +01:00
Victor Stinner
86516d9225
Close #20649 : Fix typo in asyncio doc. Patch written by Brett Cannon.
2014-02-18 09:22:00 +01:00
Victor Stinner
9a49c648ca
Issue #20667 : KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 5.5.
2014-02-18 09:13:47 +01:00
Victor Stinner
3bc3aaab13
Issue #20667 : test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on
...
OpenBSD older than 5.5
2014-02-18 01:30:03 +01:00
Victor Stinner
79c3bcf2f7
Issue #20655 : Fix test_asyncio, run also subprocess tests. Patch written by
...
Vajrasky Kok.
2014-02-18 00:11:21 +01:00
Victor Stinner
04e05da1b3
Close #20652 : asyncio doc: close the event loop in run_forever() example. Fix
...
also typo. Patch written by Vajrasky Kok.
2014-02-17 10:54:30 +01:00
Victor Stinner
a91ff1423f
Issue #20616 : Add a format() method to tracemalloc.Traceback.
2014-02-16 23:53:38 +01:00
Benjamin Peterson
34c1540009
merge backout for #20621
2014-02-16 14:17:28 -05:00
Benjamin Peterson
2626fab4c7
look up __getnewargs__ and __getnewargs_ex__ on the object type ( #16251 )
2014-02-16 13:49:16 -05:00
Nick Coghlan
c00fa6387d
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
Benjamin Peterson
e84fde981d
set line and column numbers for keyword-only arg nodes ( closes #20619 )
2014-02-13 19:22:14 -05:00
Victor Stinner
933538edde
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
4c07377490
Fix test_asyncio/test_events.py: skip IPv6 if IPv6 is disabled on the host
2014-02-13 10:46:05 +01:00
Victor Stinner
1b0580b320
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
Guido van Rossum
2303fecedc
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
b13177885f
asyncio.events: Use __slots__ in Handle and TimerHandle
2014-02-12 17:01:52 -05:00
Victor Stinner
9887fd7a79
Issue #20495 : Skip test_read_pty_output() of test_asyncio on FreeBSD older than
...
FreeBSD 8
2014-02-11 18:40:56 +01:00
Victor Stinner
613960bee8
Issue #20505 : Remove debug code
2014-02-11 17:53:47 +01:00
Benjamin Peterson
5d95afa99d
merge 3.3 ( #20594 )
2014-02-11 10:19:12 -05:00
Victor Stinner
208556c51f
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
20e0743a56
asyncio, Tulip issue 130: Add more checks on subprocess_exec/subprocess_shell
...
parameters
2014-02-11 11:44:56 +01:00
Victor Stinner
9af4a246f9
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
262a458b8a
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
7c4bd39a1f
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
8425bf817f
Issue #20505 : Improve debug info in asyncio event loop
2014-02-11 10:08:08 +01:00
Victor Stinner
7b467db4d3
Issue #20505 : Fix TestLoop, set the clock resolution
2014-02-11 09:03:47 +01:00
Victor Stinner
ed1654fa3e
Issue #20505 : BaseEventLoop uses again the resolution of the clock to decide if
...
scheduled tasks should be executed or not.
2014-02-10 23:42:32 +01:00
Georg Brandl
b38b5c43c7
merge with 3.3
2014-02-10 22:11:21 +01:00
Victor Stinner
6093a125ee
Issue #20505 : Use even shorter sleep in test_timeout_rounding() to make the
...
test more reliable (= fail more often on Windows with HPET enabled).
2014-02-10 19:17:46 +01:00
Larry Hastings
a176d2df2e
Created release branch for 3.4.
2014-02-20 23:38:01 -08:00
Larry Hastings
4cce8f2f40
Python 3.4.0rc1: Post-release updates.
2014-02-11 00:14:16 -08:00
Larry Hastings
f50691b6ff
Added tag v3.4.0rc1 for changeset 5e088cea8660
2014-02-10 14:45:14 -08:00
Larry Hastings
e9f73ac1fd
Python 3.4.0rc1: Version bump.
2014-02-10 14:45:05 -08:00
Larry Hastings
71d4e44fd7
Add PyType_GetSlot to python3 def file. Patch courtesy Martin v. Löwis.
2014-02-10 14:40:04 -08:00
Larry Hastings
ad88d7a26b
Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.
2014-02-10 04:26:10 -08:00
Larry Hastings
8f9f0f12e8
Issue #20517 : Removed unnecessary new (short-lived) functions from PyErr.
2014-02-10 03:43:57 -08:00
Victor Stinner
1c143b19c8
Issue #20505 : Add debug info to analyze sporaric failures of
...
test_timeout_rounding() on Windows XP buildbots.
2014-02-10 11:47:50 +01:00
Larry Hastings
69a2547cd5
Issue #20530 : The signatures for slot builtins have been updated
...
to reflect the fact that they only accept positional-only arguments.
2014-02-09 22:22:38 -08:00
Larry Hastings
b082731fbb
Issue #20517 : Functions in the os module that accept two filenames
...
now register both filenames in the exception on failure.
This required adding new C API functions allowing OSError exceptions
to reference two filenames instead of one.
2014-02-09 22:05:19 -08:00
Victor Stinner
dc62b7e261
asyncio: Tulip issue 112: Inline make_handle() into Handle constructor
2014-02-10 00:45:44 +01:00
Eli Bendersky
136fea253e
More complete documentation of event loops and policies.
...
Documented the AbstractEventLoopPolicy interface explicitly and explained the
relation between the global loop & policy access functions. Added an initial
section that explains the connections in general terms. Documented missing XXX
methods.
2014-02-09 06:55:58 -08:00