-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In Python 3.11, "The PyFrameObject structure members have been removed from the public C API" (https://docs.python.org/3/whatsnew/3.11.html), which breaks the use of frame->f_code in ctau_impl.c. Replace with call to PyFrame_GetCode(). Add implementation of PyFrame_GetCode in terms of older frame->fcode method for Python <=3.8. Tested with Python 3.11, 3.10, 3.8, 2.7. Former-commit-id: 3b1177de8537708f50581c7c6dbbc3ce38b2ab95
- Loading branch information
Showing
1 changed file
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters