[Python-ideas] feature to make traceback objects usable without references to frame locals and globals

M.-A. Lemburg mal at egenix.com
Mon Jun 28 13:31:44 CEST 2010

Nick Coghlan wrote:
> On Sun, Jun 27, 2010 at 7:53 AM, M.-A. Lemburg <mal at egenix.com> wrote:
>>> He's not talking about creating traceback objects outside the core, but
>>> being able to reuse tracebacks created by the core without keeping alive
>>> a whole chain of objects.
>> With the question I was referring to the suggestion by
>> Greg Ewing in which he seemed to imply that Pyrex and Cython
>> create traceback objects.
> When Python code calls into Pyrex/C code which then call back into
> Python, I understand they insert dummy frames into the tracebacks to
> make the call stack more complete.

Thanks for that bit of information. I suppose they do this for
better error reporting, right ?

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Jun 28 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
2010-07-19: EuroPython 2010, Birmingham, UK                20 days to go

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the Python-ideas mailing list