Message394

Author bckfnn
Recipients
Date 2001-08-18.15:01:02
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I have this code:
def test():
    print noname

try:
    print "line 5"
    print "line 6"
    test()
    print "line 8"
    print "line 9"
except ValueError:
    print "shouldn't happen."

When I run it under python I get the following stack 
trace:
line 5
line 6
Traceback (innermost last):
  File "test.py", line 7, in ?
    test()
  File "test.py", line 2, in test
    print noname
NameError: noname

Under Jython I get:
line 5
line 6
Traceback (innermost last):
  File "test.py", line 10, in ?
  File "test.py", line 2, in test
NameError: noname

Reported by chuck clark on 2001-08-09 on jython-users.
History
Date User Action Args
2008-02-20 17:16:53adminlinkissue452526 messages
2008-02-20 17:16:53admincreate