[issue8015] pdb "commands" command throws you into postmortem if you enter an empty command
Alexander Belopolsky
report at bugs.python.org
Fri Feb 26 00:34:01 CET 2010
Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:
I am attaching the patch that fixes the issue by ignoring empty and all space lines during commands' entry. Note that as written the patch also makes pdb ignore shell escapes unless it is extended with do_shell method. I think this is the right behavior.
----------
components: +Library (Lib)
keywords: +patch
nosy: +Alexander.Belopolsky
type: -> behavior
Added file: http://bugs.python.org/file16373/issue8015.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8015>
_______________________________________
More information about the Python-bugs-list
mailing list