def pm():
    import sys
    try:
        e_type = sys.last_type
        e_value = sys.last_value
        tb = sys.last_traceback
    except __HOLE__:
        ## No exception on record. Do nothing.
        return
    post_mortem(tb, e_type, e_value)
dataset/ETHPy150Open inducer/pudb/pudb/__init__.py/pm