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: # XXX: lol, see ``pdbpp`` issue:
# https://github.com/pdbpp/pdbpp/issues/496 # https://github.com/pdbpp/pdbpp/issues/496
# pdb_obj.lastcmd = 'longlist' # pdb_obj.lastcmd = 'longlist'
if sys.version_info >= (3, 10): # if sys.version_info >= (3, 10):
pass # pass
# print('--KeyboardInterrupt--') # # print('--KeyboardInterrupt--')
# pdb_obj.do_longlist(None) # # pdb_obj.do_longlist(None)
# pdb_obj._printlonglist(False) # # pdb_obj._printlonglist(False)
else: # else:
pdb_obj.do_longlist(None) pdb_obj.do_longlist(None)
print(pdb_obj.prompt, end='', flush=True) print(pdb_obj.prompt, end='', flush=True)
except AttributeError: except AttributeError:
log.exception('pdbpp longlist failed...') log.exception('pdbpp longlist failed...')