Message891
Logged In: YES
user_id=13893
I have the same problems with exceptions raised in lambda
functions, python 2.1 has the line number, jython shows 0
def f(x):
raise ValueError
print (lambda x:f(x))(1)
00:01:52 alain ~ $jython /tmp/test.py
Traceback (innermost last):
File "/tmp/test.py", line 4, in ?
File "/tmp/test.py", line 0, in <lambda>
File "/tmp/test.py", line 2, in f
ValueError:
00:02:06 alain ~ $python2.1 /tmp/test.py
Traceback (most recent call last):
File "/tmp/test.py", line 4, in ?
print (lambda x:f(x))(1)
File "/tmp/test.py", line 4, in <lambda>
print (lambda x:f(x))(1)
File "/tmp/test.py", line 2, in f
raise ValueError
ValueError
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:17 | admin | link | issue904322 messages |
2008-02-20 17:17:17 | admin | create | |
|