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 terry.reedy
Recipients Mark.Shannon, brandtbucher, nedbat, pablogsal, serhiy.storchaka, terry.reedy
Date 2021-05-01.00:51:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Marking what expression evaluated to None would be extremely helpful.  So would marking the 0 denominator when there is more than one candidate: "e = a/b + c/d".  It should be easy to revise IDLE Shell's print_exception to tag the span.  In some cases, the code that goes from a traceback line to a line in a file and marks it could do the same.

What would you do when the expression is not the last line?

except Exception as e:
   raise e

The except and raise might even be in a separate module.
I look forward to the PEP and discussion.
Date User Action Args
2021-05-01 00:51:48terry.reedysetrecipients: + terry.reedy, nedbat, Mark.Shannon, serhiy.storchaka, pablogsal, brandtbucher
2021-05-01 00:51:48terry.reedysetmessageid: <>
2021-05-01 00:51:48terry.reedylinkissue43950 messages
2021-05-01 00:51:47terry.reedycreate