Message413844
> 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 ;-) |
|
Date |
User |
Action |
Args |
2022-02-23 18:48:53 | vstinner | set | recipients:
+ vstinner, scoder, nedbat, petr.viktorin, Mark.Shannon |
2022-02-23 18:48:51 | vstinner | set | messageid: <1645642131.81.0.455624891269.issue40421@roundup.psfhosted.org> |
2022-02-23 18:48:51 | vstinner | link | issue40421 messages |
2022-02-23 18:48:51 | vstinner | create | |
|