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 david193
Recipients david193, orsenthil
Date 2011-02-21.04:23:48
SpamBayes Score 2.5876523e-12
Marked as misclassified No
Message-id <1298262229.27.0.0494632803503.issue11261@psf.upfronthosting.co.za>
In-reply-to
Content
Converting the type of my variable "form" from string to bytes did, indeed, allow the code to run, but I have to wonder about changing the inputs to urlopen like this. 

The 3.1.3 docs call for the data parameter to be string, and I presume that has been the case all along. Changing the data parameter from string to bytes may be a relatively clean change to make, but this change is going to break a lot of existing code. Are you sure you want to do that?
History
Date User Action Args
2011-02-21 04:23:49david193setrecipients: + david193, orsenthil
2011-02-21 04:23:49david193setmessageid: <1298262229.27.0.0494632803503.issue11261@psf.upfronthosting.co.za>
2011-02-21 04:23:48david193linkissue11261 messages
2011-02-21 04:23:48david193create