◐ Shell
clean mode source ↗

gh-123242: Note that type.__annotations__ may not exist by JelleZijlstra · Pull Request #124557 · python/cpython

Closes python#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.

AlexWaygood

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request

Sep 25, 2024
…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 added a commit that referenced this pull request

Sep 25, 2024
…4557) (#124562)

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)

emilyemorehouse added a commit to lysnikolaou/cpython that referenced this pull request

Sep 26, 2024

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request

Sep 26, 2024
…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>

Yhg1s pushed a commit that referenced this pull request

Sep 26, 2024
…4557) (#124569)

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)