New submission from ThePokestarFan <sarkarao...@gmail.com>:
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) ... ---------- components: Library (Lib), macOS messages: 359264 nosy: ThePokestarFan, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: PDB pm function throws exception without sys import type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39208> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com