This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xuanji
Recipients catlee, davide.rizzo, eric.araujo, georg.brandl, jhylton, orsenthil, pitrou, rcoyner, rhettinger, xuanji
Date 2010-12-02.03:19:49
SpamBayes Score 1.8400759e-07
Marked as misclassified No
Message-id <1291260005.44.0.577471447232.issue3243@psf.upfronthosting.co.za>
In-reply-to
Content
Actually I don't think you can go around changing test_urllib2.py, they are after all regression tests... and surely some users will send "" as data.

My patch handles the case of 0-length data specially, removing the need for 2) Can call len but not buffer: assume len == #bytes
History
Date User Action Args
2010-12-02 03:20:05xuanjisetrecipients: + xuanji, jhylton, georg.brandl, rhettinger, orsenthil, pitrou, catlee, eric.araujo, rcoyner, davide.rizzo
2010-12-02 03:20:05xuanjisetmessageid: <1291260005.44.0.577471447232.issue3243@psf.upfronthosting.co.za>
2010-12-02 03:19:49xuanjilinkissue3243 messages
2010-12-02 03:19:49xuanjicreate