Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PEP-669 sys.monitoring support #6144

Draft
wants to merge 43 commits into
base: master
Choose a base branch
from

Conversation

scoder
Copy link
Contributor

@scoder scoder commented Apr 17, 2024

Uses the PyMonitoring C-API that is being developed for Py3.13.

See https://docs.python.org/3/library/sys.monitoring.html
See python/cpython#111997
See python/cpython#116413

…pdef wrappers, and generator def/body. The code object is now owned by the innermost tree node (wrapper/gbody/etc.) and used by the outer syntax node (lambda, generator expression, function).
…ects independently (because they are really separate functions in the same code section).
…ow always treat them as constant and just make sure they have their result code set up.
…the generator body (instead of the other way round) since the body has a different signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant