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 pitrou
Recipients catlee, eric.araujo, jhylton, orsenthil, pitrou, rcoyner, rhettinger, xuanji
Date 2010-11-30.13:27:48
SpamBayes Score 0.00016156341
Marked as misclassified No
Message-id <1291123665.3538.7.camel@localhost.localdomain>
In-reply-to <1291114806.49.0.579131105202.issue3243@psf.upfronthosting.co.za>
Content
> pitrou: actually that seems a bit suspect now... you need to handle
> 'data' differently depending on its type,

Yes, but you can't know all appropriate types in advance, so it's better
to try and catch the TypeError.

I don't understand your changes in Lib/urllib/request.py. len(data) will
raise anyway.
History
Date User Action Args
2010-11-30 13:27:50pitrousetrecipients: + pitrou, jhylton, rhettinger, orsenthil, catlee, eric.araujo, rcoyner, xuanji
2010-11-30 13:27:48pitroulinkissue3243 messages
2010-11-30 13:27:48pitroucreate