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:33:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645641226.97.0.807189251613.issue40421@roundup.psfhosted.org>
In-reply-to
Content
Ned Batchelder:
> I went ahead and changed the coverage.py code to this: (...)

I proposed a coverage PR using PyObject_GetAttrString(frame, "f_lasti") which should works on all Python versions:
https://github.com/nedbat/coveragepy/pull/1331
History
Date User Action Args
2022-02-23 18:33:47vstinnersetrecipients: + vstinner, scoder, nedbat, petr.viktorin, Mark.Shannon
2022-02-23 18:33:46vstinnersetmessageid: <1645641226.97.0.807189251613.issue40421@roundup.psfhosted.org>
2022-02-23 18:33:46vstinnerlinkissue40421 messages
2022-02-23 18:33:46vstinnercreate