Message148947
| Author |
roger.serwy |
| Recipients |
eric.araujo, roger.serwy, terry.reedy, tlesher |
| Date |
2011年12月07日.01:32:12 |
| SpamBayes Score |
9.072253e-09 |
| Marked as misclassified |
No |
| Message-id |
<1323221533.94.0.0537803321029.issue11838@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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? |
|
History
|
|---|
| 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 |
|