<div class="gmail_quote">On 16 October 2010 18:00,  <span dir="ltr"><<a href="mailto:ipython-dev-request@scipy.org">ipython-dev-request@scipy.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


We may try to hack either by redirecting sys.stderr to sys.stdout<br>
temporarily, or replacing sys.excepthook.  If you can have a go at<br>
these and find something interesting please let us know, I'm at a<br>
conference this weekend with very limited time.</blockquote><div><br>I've gone for a rather easier option: print str("Hi"). If it can't find the str function, it can't print any output, and fails the test. I've checked that the test fails, committed that, and then reapplied the fix for the bug (and checked that the test passes again), in this branch:<br>

<a href="http://github.com/takowl/ipython/tree/fix-del-method-exit-test">http://github.com/takowl/ipython/tree/fix-del-method-exit-test</a><br>I've made a pull request for it.<br><br>I also noticed a few bits of code not converting cleanly, so I've made another cleanup branch (cleanup-old-code).<br>

<br>Thanks,<br>Thomas<br></div></div><br>