This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thobe
Recipients brett.cannon, cvrebert, georg.brandl, johannes.janssen, thobe
Date 2009-08-16.22:01:29
SpamBayes Score 9.034867e-09
Marked as misclassified No
Message-id <1250460090.97.0.657409671698.issue6712@psf.upfronthosting.co.za>
In-reply-to
Content
While it is true that not all Python implementations support
sys._getframe() in some or all execution modes, Jython does support it,
even IronPython supports it with the proper startup parameters these days.

More importantly sys._getframe() [or something equivalent] *is*
available as a public API in the inspect module of Python, as
inspect.currentframe(). I don't know why the inspect module is not
brought up in the discussions about sys._getframe(), but it is a public
API. Would this mean that introspecting callframes is something all
interpreters are expected to support? Brett: what is your opinion?
Perhaps I should move this discussion to the mailing list?
History
Date User Action Args
2009-08-16 22:01:31thobesetrecipients: + thobe, brett.cannon, georg.brandl, cvrebert, johannes.janssen
2009-08-16 22:01:30thobesetmessageid: <1250460090.97.0.657409671698.issue6712@psf.upfronthosting.co.za>
2009-08-16 22:01:29thobelinkissue6712 messages
2009-08-16 22:01:29thobecreate