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 orsenthil
Recipients William.Wu, georg.brandl, orsenthil, vstinner
Date 2011-02-11.04:05:47
SpamBayes Score 7.82204e-05
Marked as misclassified No
Message-id <1297397149.36.0.149418033131.issue11082@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the patch with addressing the comments.
1. It should be TypeError instead of ValueError when str is rejected. We introduced ValueError for this release only, so there is no breakage here.
2. Informed the user that string should be encoded to bytes using user-specified encoding before it is sent as POST data. Also pointed to Examples in the urllib.request section. ( I could not hyperlink directly to #examples section. If that is possible, it would be better).
History
Date User Action Args
2011-02-11 04:05:49orsenthilsetrecipients: + orsenthil, georg.brandl, vstinner, William.Wu
2011-02-11 04:05:49orsenthilsetmessageid: <1297397149.36.0.149418033131.issue11082@psf.upfronthosting.co.za>
2011-02-11 04:05:48orsenthillinkissue11082 messages
2011-02-11 04:05:48orsenthilcreate