[issue12403] Allow overriding of writing to stdout in code.InteractiveConsole

2011-06-24 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue12403] Allow overriding of writing to stdout in code.InteractiveConsole

2011-06-24 Thread Miki Tebeka
New submission from Miki Tebeka : Currently, code.InteractiveConsole lets your override "write" which is the error stream. Allow overriding of "normal" (stdout) writing as well. This will enable to spawn interpreters into custom stdin/stdout. See twisted.manhole for example, very useful. -