]> granicus.if.org Git - python/commitdiff
(Merge 3.4) asyncio: sync with Tulip
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 25 Jul 2014 11:05:43 +0000 (13:05 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 25 Jul 2014 11:05:43 +0000 (13:05 +0200)
* 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.


Trivial merge