Message246926
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. |
|
Date |
User |
Action |
Args |
2015-07-19 00:11:44 | martin.panter | set | recipients:
+ martin.panter, orsenthil, jwilk, djc, karlcow, mschu, demian.brecht |
2015-07-19 00:11:44 | martin.panter | set | messageid: <1437264704.23.0.838056001001.issue8450@psf.upfronthosting.co.za> |
2015-07-19 00:11:44 | martin.panter | link | issue8450 messages |
2015-07-19 00:11:43 | martin.panter | create | |
|