[New-bugs-announce] [issue4308] repr of httplib.IncompleteRead is stupid

Chris Withers report at bugs.python.org
Wed Nov 12 17:41:21 CET 2008


New submission from Chris Withers <chris at simplistix.co.uk>:

The repr of httplib.IncompleteRead contains all the data in the read so far.

This is stupid. Consider the download of a 100Mb file which fails after
30Mb. You end up with 90Mb of text in the log entry logged with the
python logging framework 
(eg: logger.error('Something bad happened',exc_info=True) )

----------
components: Library (Lib)
messages: 75789
nosy: cjw296
severity: normal
status: open
title: repr of httplib.IncompleteRead is stupid
type: resource usage
versions: Python 2.5, Python 2.5.3

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


More information about the New-bugs-announce mailing list