]> granicus.if.org Git - python/commit
asyncio: SSL transports now clear their reference to the waiter
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 28 Jan 2015 23:36:35 +0000 (00:36 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 28 Jan 2015 23:36:35 +0000 (00:36 +0100)
commitf07801bb17f8089dc8b8a4d2beafba7c497af900
tree96eef20c5dc37b0d324ac8572a15bf90017543ac
parentb507cbaac5921023c17068b616efdbbecbd89920
asyncio: SSL transports now clear their reference to the waiter

* Rephrase also the comment explaining why the waiter is not awaken immediatly.
* SSLProtocol.eof_received() doesn't instanciate ConnectionResetError exception
  directly, it will be done by Future.set_exception(). The exception is not
  used if the waiter was cancelled or if there is no waiter.
Lib/asyncio/proactor_events.py
Lib/asyncio/selector_events.py
Lib/asyncio/sslproto.py
Lib/asyncio/unix_events.py