Author demian.brecht
Recipients barry, berker.peksag, demian.brecht, ethan.furman, martin.panter, orsenthil, python-dev, r.david.murray, rhettinger, serhiy.storchaka
Date 2015-02-20.22:56:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <0A38E69E-9808-403F-AE35-05BCBC6B4D6F@gmail.com>
In-reply-to <1424472631.14.0.755330605702.issue21793@psf.upfronthosting.co.za>
Content
> On Feb 20, 2015, at 2:50 PM, Serhiy Storchaka <report@bugs.python.org> wrote:
> 
> if isinstance(code, HTTPStatus):
>    code = '%d' % code

That’s what I’m intending on doing. It’s definitely not as contained as changing the __str__ implementation of HTTPStatus. That said, I understand the reasoning behind not doing so and this path is the next clearest.
History
Date User Action Args
2015-02-20 22:56:16demian.brechtsetrecipients: + demian.brecht, barry, rhettinger, orsenthil, r.david.murray, ethan.furman, python-dev, berker.peksag, martin.panter, serhiy.storchaka
2015-02-20 22:56:16demian.brechtlinkissue21793 messages
2015-02-20 22:56:16demian.brechtcreate