Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-140980: documentSET_FUNCTION_ATTRIBUTE flag forannotate function#141306
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-140980: documentSET_FUNCTION_ATTRIBUTE flag forannotate function#141306
Uh oh!
There was an error while loading.Please reload this page.
Conversation
SET_FUNCTION_ATTRIBUTE indisSET_FUNCTION_ATTRIBUTE indisSET_FUNCTION_ATTRIBUTE indisUh oh!
There was an error while loading.Please reload this page.
| Added ``0x10`` to indicate the annotate function for the function object. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Can you put two blank lines between the end the sentence and the next .. opcode::? (see other paragraphs to check how they are separated)
Uh oh!
There was an error while loading.Please reload this page.
ae00464 to38151bfCompareSET_FUNCTION_ATTRIBUTE indisSET_FUNCTION_ATTRIBUTE flag forannotate function6f20ea1 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@Lakshya-Upadhyaya for the PR, and@picnixz for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
picnixz commentedNov 9, 2025
Thank you! |
…` function (pythonGH-141306)(cherry picked from commit6f20ea1)Co-authored-by: Lakshya Upadhyaya <lakshya.upadhyaya05@gmail.com>
GH-141316 is a backport of this pull request to the3.14 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Fixesgh-140980
This adds documentation for the
0x10bit flag (annotate) that was added toSET_FUNCTION_ATTRIBUTEin#124566. The bit sets the annotate function forthe function object.
📚 Documentation preview 📚:https://cpython-previews--141306.org.readthedocs.build/