[issue4308] repr of httplib.IncompleteRead is stupid

Skip Montanaro report at bugs.python.org
Mon Mar 2 17:34:56 CET 2009


Skip Montanaro <skip at pobox.com> added the comment:

Can't be applied to 2.5 at this point.  I agree it's dumb to
report the entire partial read and that reporting just the
number of bytes read is a much better solution.  Your patch
looks fine to me as well, except you call resp.close() twice
in test_incomplete_read().  Assigning to Benjamin for
application.  (He's going to get the merge stuff right. I
almost certainly will not.)

----------
assignee:  -> benjamin.peterson
nosy: +skip.montanaro
versions: +Python 3.0 -Python 2.5

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


More information about the Python-bugs-list mailing list