New submission from Garrett Cooper <[email protected]>: Pressing <enter> produces no output with cmd.py whenever ^D has been entered in; after I enter in ^D it gets into an infinite loop spewing out messages via cmd.Cmd.default() about EOF because self.lastcmd isn't being reset properly.
The attached patch fixes that usability nit to be more intuitive (I debated about changing 'EOF' to 0x10, but that's probably less intuitive..). ---------- components: Library (Lib) files: python-cmd-reset-lastcmd-on-EOF.patch keywords: patch messages: 148575 nosy: yaneurabeya priority: normal severity: normal status: open title: Hitting EOF gets cmd.py into a infinite EOF on return loop type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file23805/python-cmd-reset-lastcmd-on-EOF.patch _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue13500> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
