Message122904
| 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. |
|