R. David Murray added the comment:

Thanks for the report and PR, but your fix is not obviously correct.  In 
general exceptions are the way in Python that errors are reported, and asking 
for extra_info on a closed stream is an error.  The exception raised is not 
clear, so perhaps the asyncio folks will want to improve it.  Or perhaps I'm 
wrong and they will want to return None, but I'll be a bit surprised if that is 
the case :)

----------
components: +asyncio
nosy: +gvanrossum, r.david.murray, yselivanov

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

Reply via email to