STINNER Victor added the comment:

Oh, it looks like all pause_reading() and resume_reading() methods of 
transports check the status the transport (especially the _closing attribute), 
except two transports: _UnixReadPipeTransport and _SSLProtocolTransport.

For _SSLProtocolTransport, I don't think that it matters because this transport 
is not used directly, but through _SelectorSslTransport or 
_ProactorSocketTransport and these transports already check the status.

Here is a patch for _UnixReadPipeTransport, without patch yet.

----------
keywords: +patch
Added file: http://bugs.python.org/file38784/read_pipe_pause_reading.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23837>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to