Visitar URL original
gh-91053: Add an optional callback that is invoked whenever a function is modified by mpage · Pull Request #98175 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221012025650/https://github.com/python/cpython/pull/98175
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

gh-91053: Add an optional callback that is invoked whenever a function is modified #98175

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mpage
Copy link

@mpage mpage commented Oct 11, 2022 •

JIT compilers may need to invalidate compiled code when a function is modified (e.g. if its code object is modified). This adds the ability to set a callback that, when set, is called each time a function is modified.

JIT compilers may need to invalidate compiled code when a function is
modified (e.g. if its code object is modified). This adds the ability
to set a callback that, when set, is called each time a function is
modified.
@mpage mpage changed the title Add an optional callback that is invoked whenever a function is modified gh-91053: Add an optional callback that is invoked whenever a function is modified Oct 11, 2022
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

2 participants