New submission from william wu:
I install python 2.7 in windows xp 32bit.
I try to open idle using C:\Python27python.exe Lib\idlelib\idle.py, But
return error as following:
Traceback (most recent call last):
File Lib\idlelib\idle.py, line 11, in module
idlelib.PyShell.main()
File C
William Wu willie...@gmail.com added the comment:
So, what's the decision to be taken? I'm willing to provide patches (if I need
to), but I need to know *the reasonable behaviors*. :)
--
___
Python tracker rep...@bugs.python.org
http
William Wu willie...@gmail.com added the comment:
If the POST data should be bytes which I also think reasonable,
should urllib.parse.urlencode return bytes instead of str?
urllib.parse.urlencode({'foo': 'bar'})
'foo=bar'
urllib.parse.urlencode({b'foo': b'bar'})
'foo=bar
New submission from William Wu willie...@gmail.com:
I found this bug when I started to trying Python 3.2 release candidate 1.
When using urllib.request.urlopen to handle HTTP POST, I got the error message:
ValueError: Content-Length should be specified for iterable data of type
class 'str
Changes by William Wu willie...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file20633/test_urllib_request.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11082
Changes by William Wu willie...@gmail.com:
Added file: http://bugs.python.org/file20634/urllib_request.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11082