FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

PEP-578 Audit Hooks for Stackless · Issue #303 · stackless-dev/stackless · GitHub

This repository was archived by the owner on Feb 13, 2025. It is now read-only.
/ stackless Public archive
forked from python/cpython
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

PEP-578 Audit Hooks for Stackless #303

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL