[issue5952] AttributeError exception in urllib.urlopen

2009-05-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Thanks for the info. This problem is a duplicate of issue767111, which was corrected two years ago. I suggest you to upgrade to 2.5 at least. -- resolution: -> out of date status: open -> closed ___ Python tr

[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-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sorry, we need more information to diagnose the problem. What did you try? Can you provide a minimal example? Does this reproduce with newer python versions? 2.4 is quite an old version and will not be corrected. -- nosy: +amaury.forgeotdarc ___

[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 "/usr/grte/v1/piii-linux/lib/python2.4