Martin Panter added the comment:

This affected the HTTP server log messages, discussed from 
<https://bugs.python.org/issue21793#msg235547> onwards. The first three patches 
proposed changed the HTTPStatus.__str__() implementation, which would have 
avoided the problem in general. But Demian’s final patch made a special case of 
checking for HTTPStatus objects in the logging code instead.

IMO it may have been better to change HTTPStatus.__str__() to use int.__str__() 
at the time.

----------
nosy: +martin.panter

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

Reply via email to