Interactive Interpreter and Pyrex
Kenny MacDermid <[email protected]> Mon, 20 Jul 2009 14:32:31 -0400
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
Hello, I'd like to know if there's any way to import a pyrex module and still = have the python interactive interpreter handle errors as before. For example, normally if I type: >>> abc I get a standard NameError, and then another '>>>' line Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'abc' is not defined >>> and can continue working, but if I first import a pyrex module then I = get the same traceback, but then no '>>>' line. Python just quits. This makes it difficult to test python code that uses pyrex because if = you make any small typo you lose all your setup so far. Thanks, Kenny