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 zach.ware
Recipients ThePokestarFan, ned.deily, ronaldoussoren, zach.ware
Date 2020-01-04.00:11:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578096699.81.0.340751521616.issue39208@roundup.psfhosted.org>
In-reply-to
Content
Try varying the order of what you're doing there:

>>> import pdb, sys
>>> pdb.pm()
Traceback ...
>>> pdb.pm()
<post-mortem of the exception raised by the first call to pdb.pm()>

See https://docs.python.org/3/library/sys.html#sys.last_traceback, which notes that this attribute is not always present (it won't be if no exception has been raised).
History
Date User Action Args
2020-01-04 00:11:39zach.waresetrecipients: + zach.ware, ronaldoussoren, ned.deily, ThePokestarFan
2020-01-04 00:11:39zach.waresetmessageid: <1578096699.81.0.340751521616.issue39208@roundup.psfhosted.org>
2020-01-04 00:11:39zach.warelinkissue39208 messages
2020-01-04 00:11:39zach.warecreate