Alexander Belopolsky <alexander.belopol...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8015> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com