[Python-bugs-list] [ python-Bugs-498828 ] SyntaxError reports wrong module name

noreply@sourceforge.net noreply@sourceforge.net
Wed, 02 Jan 2002 20:53:57 -0800


Bugs item #498828, was opened at 2002-01-02 20:53
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=498828&group_id=5470

Category: None
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Atsuo Ishimoto (atsuoi)
Assigned to: Nobody/Anonymous (nobody)
Summary: SyntaxError reports wrong module name

Initial Comment:
With Python 2.2, importing this module

== xxx.py ===
def abcdefg(l):
    l.append("kfda"

doesn't show module name 'xxx' in traceback info.

>>> import xxx
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "<string>", line 3
    l.append("kfda"
                  ^
SyntaxError: invalid syntax





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

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