[Python-bugs-list] [ python-Bugs-634422 ] global name 'name' is not defined

noreply@sourceforge.net noreply@sourceforge.net
Wed, 06 Nov 2002 05:35:08 -0800


Bugs item #634422, was opened at 2002-11-06 14:35
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=634422&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 6
Submitted By: Martin v. L÷wis (loewis)
Assigned to: Jeremy Hylton (jhylton)
Summary: global name 'name' is not defined

Initial Comment:
It appears rev. 1.36 introduced a new error, I get

  File "/usr/local/lib/python2.3/urllib2.py", line 324,
in open
    '_open', req)
  File "/usr/local/lib/python2.3/urllib2.py", line 303,
in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.3/urllib2.py", line 793,
in http_open
    return self.do_open(httplib.HTTP, req)
  File "/usr/local/lib/python2.3/urllib2.py", line 774,
in do_open
    if name not in req.headers:
NameError: global name 'name' is not defined


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

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