[issue21793] httplib client/server status refactor
Demian Brecht
report at bugs.python.org
Fri Feb 20 23:56:16 CET 2015
Demian Brecht added the comment:
> On Feb 20, 2015, at 2:50 PM, Serhiy Storchaka <report at 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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21793>
_______________________________________
More information about the Python-bugs-list
mailing list