Redo capturing of standard output to not use statement rewriting
commit21b9eb4837f7887b7280c279ff051418b495ac1f
authorOwen W. Taylor <otaylor@fishsoup.net>
Fri, 4 Jan 2008 23:01:58 +0000 (4 18:01 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Fri, 4 Jan 2008 23:01:58 +0000 (4 18:01 -0500)
treeafcbb520e6acda2f0f8b1c60f83cce44876d997c
parent7c6b6c4893926d8e0317673dfd1cc335a17ebeee
Redo capturing of standard output to not use statement rewriting
http://www.reinteract.org/trac/ticket/6 - Eduardo de Oliveira Padoan

stdout_capture.py: Facility for capturing standard out to a function
  (thread safely, future-proofing)
rewrite.py: Make print-statement rewriting optional
statement.py: Use StdoutCapture to implement standard-out capturing.
  Fix up the test cases which had bit-rotted.
lib/reinteract/main.py
lib/reinteract/rewrite.py
lib/reinteract/shell_buffer.py
lib/reinteract/statement.py
lib/reinteract/stdout_capture.py [new file with mode: 0644]