◐ Shell
clean mode source ↗

[3.12] gh-123242: Note that type.__annotations__ may not exist (GH-124557) by JelleZijlstra · Pull Request #124562 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented

Sep 25, 2024

edited by github-actions Bot

Loading

Copy link Copy Markdown

Member

Closes GH-123242. The real criterion is that the attribute does not exist on heap types, but I don't think we should discuss heap vs. static types in the language reference.
(cherry picked from commit 99b23c6)


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

…ythonGH-124557)

Closes pythonGH-123242. The real criterion is that the attribute does not
exist on heap types, but I don't think we should discuss heap vs.
static types in the language reference.
(cherry picked from commit 99b23c6)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

@JelleZijlstra JelleZijlstra merged commit 7ce138f into python:3.12

Sep 25, 2024

@JelleZijlstra JelleZijlstra deleted the backport-99b23c6-3.12 branch

September 25, 2024 23:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AlexWaygood AlexWaygood AlexWaygood approved these changes

Assignees

No one assigned

Labels

docs

Documentation in the Doc dir

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@JelleZijlstra @AlexWaygood