Message258334
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. |
|
Date |
User |
Action |
Args |
2016-01-15 22:24:06 | martin.panter | set | recipients:
+ martin.panter, srittau, ethan.furman, serhiy.storchaka |
2016-01-15 22:24:06 | martin.panter | set | messageid: <1452896646.49.0.857345647857.issue26123@psf.upfronthosting.co.za> |
2016-01-15 22:24:06 | martin.panter | link | issue26123 messages |
2016-01-15 22:24:06 | martin.panter | create | |
|