[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:\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

[issue11082] ValueError: Content-Length should be specified

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

[issue11082] ValueError: Content-Length should be specified

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

[issue11082] ValueError: Content-Length should be specified

2011-01-31 Thread William Wu
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

[issue11082] ValueError: Content-Length should be specified

2011-01-31 Thread William Wu
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

[issue11082] ValueError: Content-Length should be specified

2011-01-31 Thread William Wu
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