mirror of
https://github.com/python/cpython.git
synced 2026-06-27 13:20:40 -04:00
3135ab811d
gh-151436: Fix missing `tstate->last_profiled_frame` updates (GH-151437)
(cherry picked from commit a8d74c062f)
Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
Tests in this directory are compiled into the _testinternalcapi extension. The main file for the extension is Modules/_testinternalcapimodule.c, which calls `_PyTestInternalCapi_Init_*` from these functions. See Modules/_testcapi/README.txt for guideline when writing C test code.