I'm getting this test failure in IPython.lib on master: https://gist.github.com/954331
I think it's happening since I upgraded to Python 2.7: I guess the error that's produced (in response to cos pi) has changed.
ensure ast.parse() gets code that ends with a newline
also fix an issue where irunner could send last newline after child exits, raising OSError
Fix subtle bug with error message on Python 2.6 - code to be compiled…
… must end in a newline.