[issue5952] AttributeError exception in urllib.urlopen

2009-05-07 Thread Sergey Prigogin
Sergey Prigogin added the comment: The problem is pretty obvious from the code. URLopener.open_http contains the following code: if data is not None: h.send(data) errcode, errmsg, headers = h.getreply() fp = h.getfile() if errcode == 200

[issue5952] AttributeError exception in urllib.urlopen

2009-05-06 Thread Sergey Prigogin
New submission from Sergey Prigogin : File "/usr/grte/v1/piii-linux/lib/python2.4/urllib.py", line 82, in urlopen return opener.open(url) File "/usr/grte/v1/piii-linux/lib/python2.4/urllib.py", line 190, in open return getattr(self, name)(url) File "/u