cpython/Lib/asyncio
Victor Stinner fea6a100dc asyncio: sync with Tulip
Improve stability of the proactor event loop, especially operations on
overlapped objects:

* Tulip issue 195: Don't call UnregisterWait() twice if a _WaitHandleFuture is
  cancelled twice to fix a crash.
* IocpProactor.close(): cancel futures to cancel overlapped operations, instead
  of cancelling directly overlapped operations. Future objects may not call
  ov.cancel() if the future was cancelled or if the overlapped was already
  cancelled. The cancel() method of the future may also catch exceptions. Log
  also errors on cancellation.
* tests: rename "f" to "fut"
* Add a __repr__() method to IocpProactor
* Add a destructor to IocpProactor which closes it
* _OverlappedFuture.cancel() doesn't cancel the overlapped anymore if it is
  done: if it is already cancelled or completed. Log also an error if the
  cancellation failed.
* Add the address of the overlapped object in repr(_OverlappedFuture)
* _OverlappedFuture truncates the source traceback to hide the call to the
  parent constructor (useless in debug).
2014-07-25 00:54:53 +02:00
..
__init__.py Fix asyncio.__all__: export also unix_events and windows_events symbols 2014-07-18 12:44:25 +02:00
base_events.py Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence. 2014-07-24 11:34:11 +02:00
base_subprocess.py asyncio: sync with Tulip 2014-07-14 18:33:40 +02:00
constants.py asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78. 2013-11-01 14:12:50 -07:00
coroutines.py asyncio: sync with Tulip 2014-07-11 01:04:16 +02:00
events.py asyncio: sync with Tulip 2014-07-10 22:32:58 +02:00
futures.py Closes #21886, #21447: Fix a race condition in asyncio when setting the result 2014-07-05 15:29:41 +02:00
locks.py asyncio: sync with Tulip, add a new asyncio.coroutines module 2014-06-29 00:46:45 +02:00
log.py
proactor_events.py Python issue #21645, Tulip issue 192: Rewrite signal handling 2014-07-17 22:43:40 +02:00
protocols.py asyncio: Fix spelling and typos. 2014-02-18 22:27:48 -05:00
queues.py Closes #21886, #21447: Fix a race condition in asyncio when setting the result 2014-07-05 15:29:41 +02:00
selector_events.py Python issue #21645, Tulip issue 192: Rewrite signal handling 2014-07-17 22:43:40 +02:00
streams.py asyncio, tulip issue 193: Convert StreamWriter.drain() to a classic coroutine 2014-07-22 12:03:40 +02:00
subprocess.py asyncio, tulip issue 190: Process.communicate() now ignores 2014-07-17 13:12:03 +02:00
tasks.py Issue #21163: Fix "destroy pending task" warning in test_wait_errors() 2014-07-16 18:50:39 +02:00
test_utils.py asyncio tests: make quiet the logs of SSL handshake failures when running tests 2014-07-14 22:26:34 +02:00
transports.py asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol 2014-02-19 11:10:52 -05:00
unix_events.py asyncio: sync with Tulip 2014-07-23 18:21:45 +02:00
windows_events.py asyncio: sync with Tulip 2014-07-25 00:54:53 +02:00
windows_utils.py Issue #21119: asyncio: Make sure that socketpair() close sockets on error 2014-06-04 00:12:28 +02:00