From: Victor Stinner Date: Fri, 25 Jul 2014 11:05:43 +0000 (+0200) Subject: (Merge 3.4) asyncio: sync with Tulip X-Git-Tag: v3.5.0a1~1204 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6766ae434fd09130863af913a8193641e51b91c;p=thirdparty%2FPython%2Fcpython.git (Merge 3.4) 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. --- d6766ae434fd09130863af913a8193641e51b91c