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 ThePokestarFan
Recipients ThePokestarFan, ned.deily, ronaldoussoren
Date 2020-01-04.00:04:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578096277.08.0.562262793407.issue39208@roundup.psfhosted.org>
In-reply-to
Content
When testing PDB in python 3.8.1, PDB throws an exception when I call the pm() function in PDB without importing system.

[Fresh session]
>>> import pdb
>>> pdb.pm()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/pdb.py", line 1631, in pm
    post_mortem(sys.last_traceback)
AttributeError: module 'sys' has no attribute 'last_traceback'
>>> import sys
>>> pdb.pm()
> /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/pdb.py(1631)pm()
-> post_mortem(sys.last_traceback)
...
History
Date User Action Args
2020-01-04 00:04:37ThePokestarFansetrecipients: + ThePokestarFan, ronaldoussoren, ned.deily
2020-01-04 00:04:37ThePokestarFansetmessageid: <1578096277.08.0.562262793407.issue39208@roundup.psfhosted.org>
2020-01-04 00:04:36ThePokestarFanlinkissue39208 messages
2020-01-04 00:04:36ThePokestarFancreate