Martin Panter added the comment:

Issue 3566 has added a new exception subclass, RemoteDisconnected, in 3.5. 
People are still complaining about the old BadStatusLine exception in Python 2 
though. See Issue 23054.

Python 2 could still get better documentation of the BadStatusLine exception. 
Currently it gives the impression that it only happens when the “strict” 
parameter is True, and a status line was received that was not understood.

The exception message could also be improved. Due to Issue 7427, there is a 
special case to make the message literally two quote signs (''), representing 
an empty string. Perhaps messages like “End of stream signalled”, “No status 
line”, or “Empty status line” would be clearer.

----------

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

Reply via email to