◐ Shell
reader mode source ↗
Skip to content

gh-140980: document SET_FUNCTION_ATTRIBUTE flag for annotate function #141306

Merged
picnixz merged 3 commits into
python:mainfrom
Lakshya-Upadhyaya:document-set-function-attribute-16
Nov 9, 2025
Merged

gh-140980: document SET_FUNCTION_ATTRIBUTE flag for annotate function #141306
picnixz merged 3 commits into
python:mainfrom
Lakshya-Upadhyaya:document-set-function-attribute-16

Conversation

@Lakshya-Upadhyaya

@Lakshya-Upadhyaya Lakshya-Upadhyaya commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

Fixes gh-140980

This adds documentation for the 0x10 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-app bedevere-app Bot added awaiting review docs Documentation in the Doc dir skip news labels Nov 9, 2025
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Nov 9, 2025
@picnixz picnixz changed the title Doc: Add SET_FUNCTION_ATTRIBUTE 0x10 (annotate) to dis documentation Nov 9, 2025
@StanFromIreland StanFromIreland changed the title gh-141155: document SET_FUNCTION_ATTRIBUTE in dis Nov 9, 2025
@Lakshya-Upadhyaya Lakshya-Upadhyaya force-pushed the document-set-function-attribute-16 branch from ae00464 to 38151bf Compare November 9, 2025 18:19
@picnixz picnixz added the needs backport to 3.14 bugs and security fixes label Nov 9, 2025
@picnixz picnixz changed the title gh-140980: document SET_FUNCTION_ATTRIBUTE in dis Nov 9, 2025
Hide details View details @picnixz picnixz merged commit 6f20ea1 into python:main Nov 9, 2025
34 checks passed
@miss-islington-app

Copy link
Copy Markdown

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

@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 9, 2025
@picnixz

picnixz commented Nov 9, 2025

Copy link
Copy Markdown
Member

Thank you!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 9, 2025
…` function (pythonGH-141306)

(cherry picked from commit 6f20ea1)

Co-authored-by: Lakshya Upadhyaya <lakshya.upadhyaya05@gmail.com>
@bedevere-app

bedevere-app Bot commented Nov 9, 2025

Copy link
Copy Markdown

GH-141316 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 9, 2025
picnixz pushed a commit that referenced this pull request Nov 9, 2025
…e` function (GH-141306) (#141316)

gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function  (GH-141306)
(cherry picked from commit 6f20ea1)

Co-authored-by: Lakshya Upadhyaya <lakshya.upadhyaya05@gmail.com>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Missing documentation for SET_FUNCTION_ATTRIBUTE 16/0x10 (“annotate“)

2 participants