I am running into the (apparently) well-known issue with pyrex that trying to raise an exception using python2.5 and pyrex will lead to a TypeError, as "TypeError: exceptions must be strings, classes, or instances, not exceptions.ImportError" Is there a fixc for this issue? best regards, Paul Sijben