Zachary Ware <zachary.w...@gmail.com> added the comment:
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). ---------- nosy: +zach.ware resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ 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