[Python-bugs-list] [ python-Bugs-731116 ] urllib2 raises AttributeError on redirect

SourceForge.net noreply@sourceforge.net
Fri, 02 May 2003 13:17:23 -0700


Bugs item #731116, was opened at 2003-05-01 19:48
Message generated for change (Comment added) made by davidmlewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=731116&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: David Lewis (davidmlewis)
Assigned to: Raymond Hettinger (rhettinger)
Summary: urllib2 raises AttributeError on redirect

Initial Comment:
The code

import urllib2
f = urllib2.urlopen('http://www.cwi.nl/~jack/pimp/pimp-darwin-6.5-
Power_Macintosh.plist')

which is executed by pimp.py when the Macintosh PackageManager is 
initially brought up, raises an AttributeError when it gets redirected to 
homepages.cwi.nl.

----------------------------------------------------------------------

>Comment By: David Lewis (davidmlewis)
Date: 2003-05-02 13:17

Message:
Logged In: YES 
user_id=626943

I filed a patch under number 731153, if you want to review it.

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-05-02 12:09

Message:
Logged In: YES 
user_id=80475

Please post the whole traceback.

----------------------------------------------------------------------

Comment By: Jack Jansen (jackjansen)
Date: 2003-05-02 05:02

Message:
Logged In: YES 
user_id=45365

The problem is a last-minute checkin before 2.3b1, rev 1.39. It refers to a 
method() method on requests which doesn't exist. Assigning to Raymond, as 
he did the checkin so he's the easiest scapegoat:-)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=731116&group_id=5470