softmechanics/missingpy — pull request #3 by tsuraan (2012-12-03 18:22:11+00:00)
Title: Support for GHC-7.6

I'm not sure how correct this is, but it seems to work for the most part. Exception display seems to be a bit broken compared with the current code under 7.4:

GHC-7.4, MissingPy-0.10.5:

Prelude Python.Interpreter> pyRun_SimpleString("raise Exception('foo')")
Traceback (most recent call last):
File "", line 1, in
Exception: foo
*** Exception: <>

GHC-7.6, this commit:

Prelude Python.Interpreter> pyRun_SimpleString("raise Exception('foo')")
Traceback (most recent call last):
File "", line 1, in
Exception: foo
*** Exception:

So somehow I messed up something to do with exceptions. No idea what, but it clearly impacts the Show instance of PyExceptions.