Add test checking value of a TypedDict's __total__ attribute when there is an assignment in the class body. by Daraan · Pull Request #130460 · python/cpython

@Daraan

In relation to python#109544 which changed this behavior.

Signed-off-by: Daniel Sperber <github.blurry@9ox.net>

@Daraan

picnixz

JelleZijlstra

@Daraan

Daraan added a commit to Daraan/typing_extensions that referenced this pull request

Feb 22, 2025

Daraan added a commit to Daraan/typing_extensions that referenced this pull request

Feb 22, 2025

Daraan added a commit to Daraan/typing_extensions that referenced this pull request

Feb 22, 2025

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 22, 2025
…re is an assignment in the class body. (pythonGH-130460)

In relation to pythonGH-109544 which changed this behavior.
(cherry picked from commit d8ce092)

Co-authored-by: Daraan <github.blurry@9ox.net>
Signed-off-by: Daniel Sperber <github.blurry@9ox.net>

JelleZijlstra pushed a commit that referenced this pull request

Feb 22, 2025
…hen there is an assignment in the class body. (GH-130460) (#130462)

Add test checking value of a TypedDict's __total__ attribute when there is an assignment in the class body. (GH-130460)

In relation to GH-109544 which changed this behavior.
(cherry picked from commit d8ce092)

Signed-off-by: Daniel Sperber <github.blurry@9ox.net>
Co-authored-by: Daraan <github.blurry@9ox.net>

@Daraan Daraan deleted the TypedDictWith__total__ branch

February 22, 2025 18:36