Roger Binns wrote:
> One thing I would like to do in my extension module is
> add extra frames to the traceback when an extension
> occurs.
>
> I did find snippets of code
> doing things like PyTraceback_Here but they use a real
> Python frame which I don't have and don't know how to
> synthesize.
On 10/06/2006 1:24 PM, Roger Binns wrote:
> One thing I would like to do in my extension module is
> add extra frames to the traceback when an extension
> occurs. At the moment C code is invisible to tracebacks.
> This is relevant when the C code makes a Python callback.
[snip]
> I couldn't find
One thing I would like to do in my extension module is
add extra frames to the traceback when an extension
occurs. At the moment C code is invisible to tracebacks.
This is relevant when the C code makes a Python callback.
For example if the following code sequence happens
(time going down)
Python