• Victor Stinner's avatar
    asyncio: sync with Tulip · 313a9809
    Victor Stinner yazdı
    * _WaitHandleFuture.cancel() now notify IocpProactor through the overlapped
      object that the wait was cancelled.
    * Optimize IocpProactor.wait_for_handle() gets the result if the wait is
      signaled immediatly.
    * Enhance representation of Future and Future subclasses
    
      - Add "created at filename:lineno" in the representation
      - Add Future._repr_info() method which can be more easily overriden than
        Future.__repr__(). It should now be more easy to enhance Future
        representation without having to modify each subclass. For example,
        _OverlappedFuture and _WaitHandleFuture get the new "created at" information.
      - Use reprlib to format Future result, and function arguments when formatting a
        callback, to limit the length of the representation.
    
    * Fix repr(_WaitHandleFuture)
    * _WaitHandleFuture and _OverlappedFuture: hide frames of internal calls in the
      source traceback.
    * Cleanup ProactorIocp._poll(): set the timeout to 0 after the first call to
      GetQueuedCompletionStatus()
    * test_locks: close the temporary event loop and check the condition lock
    * Remove workaround in test_futures, no more needed
    313a9809
Adı
Son kayıt (commit)
Son güncelleme
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.gitignore Loading commit data...
.hgeol Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.hgtouch Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...