Go back to original longlist code

signint_saviour
Tyler Goodlet 2022-07-11 17:16:59 -04:00
parent 835836123b
commit a101971027
1 changed files with 8 additions and 8 deletions

View File

@ -714,15 +714,15 @@ def shield_sigint(
# XXX: lol, see ``pdbpp`` issue:
# https://github.com/pdbpp/pdbpp/issues/496
# pdb_obj.lastcmd = 'longlist'
if sys.version_info >= (3, 10):
pass
# print('--KeyboardInterrupt--')
# pdb_obj.do_longlist(None)
# pdb_obj._printlonglist(False)
# if sys.version_info >= (3, 10):
# pass
# # print('--KeyboardInterrupt--')
# # pdb_obj.do_longlist(None)
# # pdb_obj._printlonglist(False)
else:
pdb_obj.do_longlist(None)
print(pdb_obj.prompt, end='', flush=True)
# else:
pdb_obj.do_longlist(None)
print(pdb_obj.prompt, end='', flush=True)
except AttributeError:
log.exception('pdbpp longlist failed...')