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 vstinner
Recipients Mark.Shannon, nedbat, petr.viktorin, scoder, vstinner
Date 2022-02-23.18:48:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645642131.81.0.455624891269.issue40421@roundup.psfhosted.org>
In-reply-to
Content
> I found the uwsgi project on PyPI which uses f_lasti with PyCode_Addr2Line().

Oh, plugins/python/profiler.c uses that to define PyFrame_GetLineNumber() on Python older than 2.7, Python 3.0 and Python 3.1. In 2022, it's no longer relevant.

But well, there might be other code in the wild using PyCode_Addr2Line() with f_lasti, so IMO it's worth it to document the suggestion ;-)
History
Date User Action Args
2022-02-23 18:48:53vstinnersetrecipients: + vstinner, scoder, nedbat, petr.viktorin, Mark.Shannon
2022-02-23 18:48:51vstinnersetmessageid: <1645642131.81.0.455624891269.issue40421@roundup.psfhosted.org>
2022-02-23 18:48:51vstinnerlinkissue40421 messages
2022-02-23 18:48:51vstinnercreate