This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients ethan.furman, martin.panter, serhiy.storchaka, srittau
Date 2016-01-15.22:24:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452896646.49.0.857345647857.issue26123@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-01-15 22:24:06martin.pantersetrecipients: + martin.panter, srittau, ethan.furman, serhiy.storchaka
2016-01-15 22:24:06martin.pantersetmessageid: <1452896646.49.0.857345647857.issue26123@psf.upfronthosting.co.za>
2016-01-15 22:24:06martin.panterlinkissue26123 messages
2016-01-15 22:24:06martin.pantercreate