[Python-Dev] Re: Tracebacks into C code

"Martin v. Löwis" martin at v.loewis.de
Wed Jan 21 19:34:33 EST 2004

Greg Ewing wrote:

>>But there is traceback-through-C capability in the Python API!
> Is there? Can you point me towards some documentation?

It's undocumented. See pyexpat.c for an example.

> Anything that could reduce the contortions Pyrex currently
> performs to achieve this would be welcome...

That is unlikely.

The mere fact that Pyrex made it possible through contortions
demonstrates that the capability is in the API.


More information about the Python-Dev mailing list