[issue17224] can not open idle in python 2.7.3

2013-02-18 Thread william wu
New submission from william wu: I install python 2.7 in windows xp 32bit. I try to open idle using "C:\Python27>python.exe Lib\idlelib\idle.py", But return error as following: Traceback (most recent call last): File "Lib\idlelib\idle.py", line 11, in idlelib.P

[issue11082] ValueError: Content-Length should be specified

2011-02-04 Thread William Wu
William Wu 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 <http://bugs.python.o

[issue11082] ValueError: Content-Length should be specified

2011-02-02 Thread William Wu
William Wu 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' >>> u

[issue11082] ValueError: Content-Length should be specified

2011-01-31 Thread William Wu
Changes by William Wu : Added file: http://bugs.python.org/file20634/urllib_request.patch ___ Python tracker <http://bugs.python.org/issue11082> ___ ___ Python-bugs-list m

[issue11082] ValueError: Content-Length should be specified

2011-01-31 Thread William Wu
Changes by William Wu : -- keywords: +patch Added file: http://bugs.python.org/file20633/test_urllib_request.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11082] ValueError: Content-Length should be specified

2011-01-31 Thread William Wu
New submission from William Wu : 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 'foo=bar' I