[Python-Dev] Stack frames

M.-A. Lemburg mal@lemburg.com
Fri, 01 Aug 2003 21:31:43 +0200

Jack Jansen wrote:
> Everything you use appears to be documented in the Python Language  
> Reference,
> ("Frame Objects" in "Internal Types"), and the heading of that section  
> explicitly
> states that these may change in future versions of the interpreter. So,  
> while
> you are theoretically not safe in practice you are probably reasonably  
> safe.
> sys.exc_traceback is also still there, even though sys.exc_info() was  
> added
> 5 years ago as the preferred interface.

Thanks (perhaps we should add more such notes to the spec, to make
sure they still exist another 5 years down the road :-).

Marc-Andre Lemburg

Professional Python Software directly from the Source  (#1, Aug 01 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/