Message148947
This issue relates to #1178
A traceback does not necessarily mean that the last statement had the error. For example:
>>> a = lambda: 1/0
>>> a()
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
a()
File "<pyshell#0>", line 1, in <lambda>
a = lambda: 1/0
ZeroDivisionError: integer division or modulo by zero
I suppose that the specification should be extended such that the above to get transformed to:
a = lambda: 1/0
#ERROR>>> a()
#
#Traceback (most recent call last):
#....
or something similar. Thoughts? |
|
Date |
User |
Action |
Args |
2011-12-07 01:32:14 | roger.serwy | set | recipients:
+ roger.serwy, terry.reedy, tlesher, eric.araujo |
2011-12-07 01:32:13 | roger.serwy | set | messageid: <1323221533.94.0.0537803321029.issue11838@psf.upfronthosting.co.za> |
2011-12-07 01:32:13 | roger.serwy | link | issue11838 messages |
2011-12-07 01:32:12 | roger.serwy | create | |
|