Message413843
| Author |
vstinner |
| Recipients |
Mark.Shannon, nedbat, petr.viktorin, scoder, vstinner |
| Date |
2022年02月23日.18:39:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1645641578.64.0.887854301429.issue40421@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Mark Shannon:
> The only purpose of `f_lasti` is to get the line number and that can be done directly via `PyFrame_GetLineNumber(PyFrameObject *frame)`
I found the uwsgi project on PyPI which uses f_lasti with PyCode_Addr2Line(). I wrote GH-31536 to suggest using PyFrame_GetLineNumber() in What's New in Python 3.11. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年02月23日 18:39:38 | vstinner | set | recipients:
+ vstinner, scoder, nedbat, petr.viktorin, Mark.Shannon |
| 2022年02月23日 18:39:38 | vstinner | set | messageid: <1645641578.64.0.887854301429.issue40421@roundup.psfhosted.org> |
| 2022年02月23日 18:39:38 | vstinner | link | issue40421 messages |
| 2022年02月23日 18:39:38 | vstinner | create |
|