Author pdorrell
Recipients agwego, calvin, georg.brandl, georg.brandl, loewis, pdorrell, rhettinger, vila
Date 2008-06-28.09:37:13
SpamBayes Score 0.0459201
Marked as misclassified No
Message-id <1214645835.72.0.101418911304.issue900744@psf.upfronthosting.co.za>
In-reply-to
Content
I have raised a "bug" 125 for boto (
http://code.google.com/p/boto/issues/detail?id=125 ) in relation to this
problem, because if httplib.py is not fixed in Python 2.5, then any code
calling httplib.py has to work around it by handling a ValueError
exception when it occurs.

With regard to the fix in Python 2.6, and reading through the httplib.py
source, I conclude:

* IncompleteRead(value) means something like "we were expecting to read
X bytes but actually there aren't any more, and so far we have read
*value*".
* This meaning does not quite describe the error which this issue is
about, which really needs its own separate exception class, e.g.
InvalidHttpResponseChunkSize(value, badSize) meaning "we were expecting
to read the size of the next chunk, but *badSize* is not a valid number,
and so far we have read *value*)
History
Date User Action Args
2008-06-28 09:37:16pdorrellsetspambayes_score: 0.0459201 -> 0.0459201
recipients: + pdorrell, loewis, georg.brandl, rhettinger, calvin, birkenfeld, agwego, vila
2008-06-28 09:37:15pdorrellsetspambayes_score: 0.0459201 -> 0.0459201
messageid: <1214645835.72.0.101418911304.issue900744@psf.upfronthosting.co.za>
2008-06-28 09:37:14pdorrelllinkissue900744 messages
2008-06-28 09:37:13pdorrellcreate