David Phillips added the comment:
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
New submission from David Phillips :
The following code works on python 3.1.3 but fails on Python 3.2rc2
(r32rc2:88269, Jan 30 2011, 14:30:28). (I run Mac OS X, version 10.6.6.)
-
import urllib, urllib.request, urllib.error, urllib.parse
form