From a101971027bd50988db7e8376be47ef2191ac8c0 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 11 Jul 2022 17:16:59 -0400 Subject: [PATCH] Go back to original longlist code --- tractor/_debug.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tractor/_debug.py b/tractor/_debug.py index 34003a2..c332200 100644 --- a/tractor/_debug.py +++ b/tractor/_debug.py @@ -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...')