This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roger.serwy
Recipients eric.araujo, roger.serwy, terry.reedy, tlesher
Date 2011-12-07.01:32:12
SpamBayes Score 9.07225e-09
Marked as misclassified No
Message-id <>
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>
      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:14roger.serwysetrecipients: + roger.serwy, terry.reedy, tlesher, eric.araujo
2011-12-07 01:32:13roger.serwysetmessageid: <>
2011-12-07 01:32:13roger.serwylinkissue11838 messages
2011-12-07 01:32:12roger.serwycreate