asyncio/windows_events.py: use more revelant names to overlapped callbacks

For example: "finish_recv", not just "finish".
This commit is contained in:
Victor Stinner 2014-02-26 17:35:30 +01:00
parent 984689821d
commit c89c8a7be9
2 changed files with 11 additions and 12 deletions

View file

@ -702,8 +702,7 @@ class _SelectorSslTransport(_SelectorTransport):
if self._buffer:
try:
n = self._sock.send(self._buffer)
except (BlockingIOError, InterruptedError,
ssl.SSLWantWriteError):
except (BlockingIOError, InterruptedError, ssl.SSLWantWriteError):
n = 0
except ssl.SSLWantReadError:
n = 0