Skip to content

A proper fix for sentinel problmes - #21919

Merged
ilevkivskyi merged 3 commits into
python:masterfrom
ilevkivskyi:proper-sentinel-fix
Sep 1, 2026
Merged

A proper fix for sentinel problmes#21919
ilevkivskyi merged 3 commits into
python:masterfrom
ilevkivskyi:proper-sentinel-fix

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

This simplifies the implementation and avoids fragile/improper use of last_known_value.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@ilevkivskyi
ilevkivskyi merged commit 754edc3 into python:master Sep 1, 2026
25 checks passed
@ilevkivskyi
ilevkivskyi deleted the proper-sentinel-fix branch September 1, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant