This repository was archived by the owner on Feb 13, 2025. It is now read-only.
  
  
  
  
  
Description
C-Python 3.8 adds various Audit Hooks, see. Various Stackless APIs could be used to bypaas those hooks. Therefore Stckless sould add appropriate calls of PySys_Audit() to relevant C-functions (mostly __reduce__() and __setstate__(), tasklet.frame, tasklet.cstate, cstack.\_\_str\_\_, cstack.startaddr, cframe.*, ).
C-Python Hooks to be considered
- code.__new__
- sys._current_frames
- sys._getframe
- sys.set_asyncgen_hooks_finalizer
- sys.set_asyncgen_hooks_firstiter
Stackless already creates the events sys.setprofile and sys.settrace