aliles added the comment: Patch option 2 of 2.
Alternative patch that adds a new method to InteractiveConsole to split the string into multiple lines, feeding each line to interpreter using push(). This doesn't change the behaviour regarding the displayhook. But this may not meet Kristjan's original goals. ---------- Added file: http://bugs.python.org/file26940/issue7741_y.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7741> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com