[Python-bugs-list] [ python-Bugs-731116 ] urllib2 raises AttributeError on redirect
SourceForge.net
noreply@sourceforge.net
Fri, 02 May 2003 12:10:00 -0700
Bugs item #731116, was opened at 2003-05-01 21:48
Message generated for change (Comment added) made by rhettinger
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: Raymond Hettinger (rhettinger)
Date: 2003-05-02 14:09
Message:
Logged In: YES
user_id=80475
Please post the whole traceback.
----------------------------------------------------------------------
Comment By: Jack Jansen (jackjansen)
Date: 2003-05-02 07: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