Just don't call longlist on 3.10+ for now
parent
70ad0f6b8e
commit
835836123b
|
@ -692,10 +692,10 @@ def shield_sigint(
|
||||||
# that **is not** marked in debug mode?
|
# that **is not** marked in debug mode?
|
||||||
# elif debug_mode():
|
# elif debug_mode():
|
||||||
|
|
||||||
else:
|
else:
|
||||||
log.pdb(
|
log.pdb(
|
||||||
"Ignoring SIGINT since debug mode is enabled"
|
"Ignoring SIGINT since debug mode is enabled"
|
||||||
)
|
)
|
||||||
|
|
||||||
# maybe redraw/print last REPL output to console
|
# maybe redraw/print last REPL output to console
|
||||||
if pdb_obj:
|
if pdb_obj:
|
||||||
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue