ipython/ipython — pull request #1907 by minrk (2012-06-11 08:12:54+00:00)
Title: py3compat fixes for %%script and tests

fixes hang in test_pr, caused by error raised in background thread (%%script --bg), and main thread waiting on the close of an FD that would never close due to the error.