[issue15928] Open url with proxy causes TypeError

2015-05-30 Thread Martin Panter
Changes by Martin Panter : -- resolution: not a bug -> duplicate superseder: -> Missing size argument in readline() method for httplib's class LineAndFileWrapper ___ Python tracker ___

[issue15928] Open url with proxy causes TypeError

2012-09-12 Thread R. David Murray
R. David Murray added the comment: What is proxy? Perhaps it does not implement readline correctly. -- nosy: +r.david.murray ___ Python tracker ___ _

[issue15928] Open url with proxy causes TypeError

2012-09-11 Thread zhang kai
zhang kai added the comment: Well, I do have encoded the params, that is not the problem. Also these code did work for most of the time, I don't know why this bug happen so I don't know any details about the problem. Sorry about that. -- ___ Python t

[issue15928] Open url with proxy causes TypeError

2012-09-11 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue15928] Open url with proxy causes TypeError

2012-09-11 Thread Senthil Kumaran
Senthil Kumaran added the comment: Have a look at the ProxyHandler example in the Examples here - http://docs.python.org/library/urllib2.html#examples Also, construct the full url properly with urlencoded data as params. Your report does not give any details of problem. -- nosy: +orsen

[issue15928] Open url with proxy causes TypeError

2012-09-11 Thread zhang kai
New submission from zhang kai: Here is the code which causes this bug: proxy_handler = urllib2.ProxyHandler({'https': proxy}) opener = urllib2.build_opener(proxy_handler) f = opener.open(url+'?'+params) Here are the traceback information: Traceback (most recent call last): File "proxy.py",