diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-25 11:05:20 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-25 11:05:20 (GMT) |
| commit | 18a28dc5c28ae9a953f537486780159ddb768702 (patch) | |
| tree | e169539abf96f9e2b1e90efbf0fe960031a69d63 /Lib/asyncio/protocols.py | |
| parent | 1a901cc952a59cbc5dded92ffd7df43efb62a7e4 (diff) | |
| download | cpython-18a28dc5c28ae9a953f537486780159ddb768702.zip cpython-18a28dc5c28ae9a953f537486780159ddb768702.tar.gz cpython-18a28dc5c28ae9a953f537486780159ddb768702.tar.bz2 | |
asyncio: sync with Tulip
* Fix _WaitHandleFuture.cancel(): return the result of the parent cancel()
method.
* _OverlappedFuture.cancel() now clears its reference to the overlapped object.
Make also the _OverlappedFuture.ov attribute private.
* Check if _WaitHandleFuture completed before unregistering it in the callback.
Add also _WaitHandleFuture._poll() and repr(_WaitHandleFuture).
* _WaitHandleFuture now unregisters its wait handler if WaitForSingleObject()
raises an exception.
* _OverlappedFuture.set_exception() now cancels the overlapped operation.
Diffstat (limited to 'Lib/asyncio/protocols.py')
0 files changed, 0 insertions, 0 deletions
