[issue23439] Fixed http.client.__all__ and added a test

Demian Brecht report at bugs.python.org
Wed Feb 11 23:30:04 CET 2015


Demian Brecht added the comment:

The only real question I have is: why? As far as I'm aware, these are
implementation details of the http.client module (there's even a comment in
HTTPMessage that it might make sense to move the class altogether).

As far as the constants go, they're only there for backwards compatibility
and http.HTTPStatus should be preferred. In light of that and the fact that
they were not previously in __all__, I agree with Berker about keeping this
simple for now.

On Wed, Feb 11, 2015, 13:57 Berker Peksag <report at bugs.python.org> wrote:

>
> Berker Peksag added the comment:
>
> It's not that important in my opinion. Let's keep it simple for now :)
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue23439>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23439>
_______________________________________


More information about the Python-bugs-list mailing list