forked from goodboy/tractor
1
0
Fork 0

Just don't call longlist on 3.10+ for now

sigintsaviour_citesthackin
Tyler Goodlet 2022-07-11 16:04:16 -04:00
parent e519df1bd2
commit 8559ad69f3
1 changed files with 8 additions and 5 deletions

View File

@ -715,7 +715,10 @@ def shield_sigint(
# 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):
pdb_obj._printlonglist(False) pass
# print('--KeyboardInterrupt--')
# pdb_obj.do_longlist(None)
# pdb_obj._printlonglist(False)
else: else:
pdb_obj.do_longlist(None) pdb_obj.do_longlist(None)