[issue3430] httplib.HTTPResponse documentations inconsistent

Terry J. Reedy report at bugs.python.org
Mon Oct 7 22:13:19 CEST 2013


Terry J. Reedy added the comment:

Docs are still as deficient in 3.3, and so I presume in 3.4.

Part of the discrepancy between the first two lists is that data attributes msg, version, status, and reason are instance-only attributes.

#19154 is (now) about improving fileno doc. That, some other methods, are missing doctrings, making help(method) useless.

A big change in 3.x is that HTTPResponse now subclasses io.RawIOBase and hence inherits or implements even more (undocumented) methods than listed here. I suppose they could be documented by reference to the base class, if that is the normal procedure when subclassing.

----------
dependencies: +AttributeError: 'NoneType' in http/client.py when using select when file descriptor is closed.
nosy:  -georg.brandl
versions: +Python 3.4 -Python 3.2

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


More information about the Python-bugs-list mailing list