Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Conversation

@Lakshya-Upadhyaya
Copy link
Contributor

@Lakshya-UpadhyayaLakshya-Upadhyaya commentedNov 9, 2025
edited
Loading

Fixesgh-140980

This adds documentation for the0x10 bit flag (annotate) that was added to
SET_FUNCTION_ATTRIBUTE in#124566. The bit sets the annotate function for
the function object.


📚 Documentation preview 📚:https://cpython-previews--141306.org.readthedocs.build/

@bedevere-appbedevere-appbot added awaiting review docsDocumentation in the Doc dir skip news labelsNov 9, 2025
@picnixzpicnixz changed the titleDoc: Add SET_FUNCTION_ATTRIBUTE 0x10 (annotate) to dis documentationgh-141155: documentSET_FUNCTION_ATTRIBUTE indisNov 9, 2025
@StanFromIrelandStanFromIreland changed the titlegh-141155: documentSET_FUNCTION_ATTRIBUTE indisgh-140980: documentSET_FUNCTION_ATTRIBUTE indisNov 9, 2025
Comment on lines 1681 to 1682
Added ``0x10`` to indicate the annotate function for the function object.

Copy link
Member

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)

@Lakshya-UpadhyayaLakshya-Upadhyayaforce-pushed thedocument-set-function-attribute-16 branch fromae00464 to38151bfCompareNovember 9, 2025 18:19
@picnixzpicnixz added the needs backport to 3.14bugs and security fixes labelNov 9, 2025
@picnixzpicnixz changed the titlegh-140980: documentSET_FUNCTION_ATTRIBUTE indisgh-140980: documentSET_FUNCTION_ATTRIBUTE flag forannotate functionNov 9, 2025
@picnixzpicnixz merged commit6f20ea1 intopython:mainNov 9, 2025
34 checks passed
@miss-islington-app
Copy link

Thanks@Lakshya-Upadhyaya for the PR, and@picnixz for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@picnixz
Copy link
Member

Thank you!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 9, 2025
…` function (pythonGH-141306)(cherry picked from commit6f20ea1)Co-authored-by: Lakshya Upadhyaya <lakshya.upadhyaya05@gmail.com>
@bedevere-app
Copy link

GH-141316 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelNov 9, 2025
picnixz pushed a commit that referenced this pull requestNov 9, 2025
…e` function (GH-141306) (#141316)gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function  (GH-141306)(cherry picked from commit6f20ea1)Co-authored-by: Lakshya Upadhyaya <lakshya.upadhyaya05@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@picnixzpicnixzpicnixz approved these changes

Assignees

No one assigned

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Missing documentation for SET_FUNCTION_ATTRIBUTE16/0x10 (“annotate“)

2 participants

@Lakshya-Upadhyaya@picnixz

[8]ページ先頭

©2009-2025 Movatter.jp