Author serhiy.storchaka
Recipients barry, berker.peksag, demian.brecht, ethan.furman, martin.panter, orsenthil, python-dev, r.david.murray, rhettinger, serhiy.storchaka
Date 2015-02-20.22:50:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424472631.14.0.755330605702.issue21793@psf.upfronthosting.co.za>
In-reply-to
Content
I would write just:

if isinstance(code, HTTPStatus):
    code = '%d' % code
History
Date User Action Args
2015-02-20 22:50:31serhiy.storchakasetrecipients: + serhiy.storchaka, barry, rhettinger, orsenthil, r.david.murray, ethan.furman, python-dev, berker.peksag, martin.panter, demian.brecht
2015-02-20 22:50:31serhiy.storchakasetmessageid: <1424472631.14.0.755330605702.issue21793@psf.upfronthosting.co.za>
2015-02-20 22:50:31serhiy.storchakalinkissue21793 messages
2015-02-20 22:50:31serhiy.storchakacreate