[issue7741] Allow multiple statements in code.InteractiveConsole.push

aliles report at bugs.python.org
Tue Aug 21 02:18:27 CEST 2012


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 <report at bugs.python.org>
<http://bugs.python.org/issue7741>
_______________________________________


More information about the Python-bugs-list mailing list