cpython/Lib/asyncio
Victor Stinner 42d3bdeed6 asyncio, tulip issue 196: ProactorIocp._register() now registers the overlapped
in the _cache dictionary, even if we already got the result. We need to keep a
reference to the overlapped object, otherwise the memory may be reused and
GetQueuedCompletionStatus() may use random bytes and behaves badly.

There is still a hack for ConnectNamedPipe(): the overlapped object is not
register into _cache if the overlapped object completed directly.

Log also an error in debug mode in ProactorIocp._loop() if we get an unexpected
event.

Add a protection in ProactorIocp.close() to avoid blocking, even if it should
not happen. I still don't understand exactly why some the completion of some
overlapped objects are not notified.
2014-07-28 00:18:43 +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 Accept optional lock object in Condition ctor (tulip issue #198) 2014-07-26 17:54:34 +03:00
log.py Rename the logger to plain "logger". 2013-10-17 15:39:45 -07:00
proactor_events.py asyncio: sync with Tulip 2014-07-25 13:05:20 +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 asyncio: sync with Tulip 2014-07-25 22:36:05 +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, tulip issue 196: ProactorIocp._register() now registers the overlapped 2014-07-28 00:18:43 +02:00
windows_utils.py Issue #21119: asyncio: Make sure that socketpair() close sockets on error 2014-06-04 00:12:28 +02:00