| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f8c19556-e529-8b8a-1244-45516a601dbe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE60:291B58:43F7280:55E6D47:6B026954 |
| html-safe-nonce | d6e4cd56fa9865b2439085df1b1755e4e09a6819fd4cabc0fe4a4301a1cb875b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTYwOjI5MUI1ODo0M0Y3MjgwOjU1RTZENDc6NkIwMjY5NTQiLCJ2aXNpdG9yX2lkIjoiNzA5NDAxMDg4NDg5NjQ4MzY2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8fd22bef6a1ad045123a4e5d7118ba7e5554d47ca10453738b8eff1e15de4275 |
| hovercard-subject-tag | pull_request:3612797331 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/typing/pull/2277/files |
| twitter:image | https://avatars.githubusercontent.com/u/906600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/906600?s=400&v=4 |
| og:image:alt | PEP-661 was accepted and implemented for Python 3.15. The main typing innovation is that sentinel objects are usable directly in type annotations.
In this proposed text I chose to drop the requirem... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/typing/pull/2277/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2277%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2277%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Ftyping |
| Reload | https://github.com/python/typing/pull/2277/files |
| Reload | https://github.com/python/typing/pull/2277/files |
| Reload | https://github.com/python/typing/pull/2277/files |
| python | https://github.com/python |
| typing | https://github.com/python/typing |
| Code | https://github.com/python/typing |
| Issues206 (206) | https://github.com/python/typing/issues |
| Pull requests27 (27) | https://github.com/python/typing/pulls |
| Discussions | https://github.com/python/typing/discussions |
| Actions | https://github.com/python/typing/actions |
| Security and quality | https://github.com/python/typing/security |
| Insights | https://github.com/python/typing/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/typing/tree/main |
| JelleZijlstra:sentinels | https://github.com/JelleZijlstra/typing/tree/sentinels |
|
Conversation
18
| https://github.com/python/typing/pull/2277 |
|
Commits
7
| https://github.com/python/typing/pull/2277/commits |
|
Checks
3
| https://github.com/python/typing/pull/2277/checks |
|
Files changed
| https://github.com/python/typing/pull/2277/files |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
|
Add sentinels (PEP 661) to the spec
| https://github.com/python/typing/pull/2277/files#top |
|
Show all changes
7 commits
| https://github.com/python/typing/pull/2277/files |
|
d9961b2
Add sentinels (PEP 661) to the spec
JelleZijlstra May 1, 2026
| https://github.com/python/typing/pull/2277/commits/d9961b268ef676ae20ddb239b4db6dcb042f1c9c |
|
de6d9ea
.
JelleZijlstra May 1, 2026
| https://github.com/python/typing/pull/2277/commits/de6d9eabaa5cc288f0ded5710e569669ad9415b5 |
|
19e4152
Merge remote-tracking branch 'upstream/main' into sentinels
JelleZijlstra May 2, 2026
| https://github.com/python/typing/pull/2277/commits/19e4152a4a9602672aa4d3a93fc7e260d32a398a |
|
e6dd6e3
update
JelleZijlstra May 2, 2026
| https://github.com/python/typing/pull/2277/commits/e6dd6e3b51f1133fd464c3e63a127b4c57b5b0b2 |
|
84d6fd8
add file
JelleZijlstra May 2, 2026
| https://github.com/python/typing/pull/2277/commits/84d6fd8fd889fabc69562275a9807203d733bfab |
|
36a2158
add
JelleZijlstra May 2, 2026
| https://github.com/python/typing/pull/2277/commits/36a2158213e9198493b3866b88579e5baf42bdfd |
|
9e7b570
Merge remote-tracking branch 'upstream/main' into codex/pr-2277-merge…
JelleZijlstra Aug 7, 2026
| https://github.com/python/typing/pull/2277/commits/9e7b570ddea26be7ed51eef09700d4b868dde765 |
|
Clear filters
| https://github.com/python/typing/pull/2277/files |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
|
specialtypes_sentinels.toml
| https://github.com/python/typing/pull/2277/files#diff-06a9a6b60ffa25784e3f9eb0d19ec06ad77ef2f4e6373d6fd63cec2ce8c6179b |
|
specialtypes_sentinels.toml
| https://github.com/python/typing/pull/2277/files#diff-cef735efee9388f2a01253589a4a50ca8cc517ce10922469cd1179b97f68ec7d |
|
specialtypes_sentinels.toml
| https://github.com/python/typing/pull/2277/files#diff-a43fef498ee792912cd4c8556185b87cec27c7d27ffd31cf0bf3002650a6f4dc |
|
specialtypes_sentinels.toml
| https://github.com/python/typing/pull/2277/files#diff-ab3dc525bd1f78d98471d87efd8fb1ce8236b7d477b6ed67c95dbb3d34aa2704 |
|
results.html
| https://github.com/python/typing/pull/2277/files#diff-1026e9a5ffcc2a9a0af3bc5b250ce31a9562dc874f49390536bb28e2e129c381 |
|
specialtypes_sentinels.toml
| https://github.com/python/typing/pull/2277/files#diff-2754d114e5b632ed783b7e3c55a1456b8cdea39a213608b05ea6bdb2a5c79653 |
|
specialtypes_sentinels.toml
| https://github.com/python/typing/pull/2277/files#diff-e04ce743726b8f59d19cbea0b6d3e4d6f4f7d24d7ffba06ce586abcf20fb556f |
|
specialtypes_sentinels.py
| https://github.com/python/typing/pull/2277/files#diff-69a3e1ca4988c354da27135f7475130290c169a6e3056e910cfa22b31d986ac0 |
|
annotations.rst
| https://github.com/python/typing/pull/2277/files#diff-184b677a01f925aa7d9a29fabc8c946f2d99da37850f89210ad5a2ff33fa52cf |
|
special-types.rst
| https://github.com/python/typing/pull/2277/files#diff-a4c6e6971a9fffe88effa082aba7021df4a18a0fc5f8e2d03b866073933291b7 |
| conformance/results/mypy/specialtypes_sentinels.toml | https://github.com/python/typing/pull/2277/files#diff-06a9a6b60ffa25784e3f9eb0d19ec06ad77ef2f4e6373d6fd63cec2ce8c6179b |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/conformance/results/mypy/specialtypes_sentinels.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
| conformance/results/pycroscope/specialtypes_sentinels.toml | https://github.com/python/typing/pull/2277/files#diff-cef735efee9388f2a01253589a4a50ca8cc517ce10922469cd1179b97f68ec7d |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/conformance/results/pycroscope/specialtypes_sentinels.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
| conformance/results/pyrefly/specialtypes_sentinels.toml | https://github.com/python/typing/pull/2277/files#diff-a43fef498ee792912cd4c8556185b87cec27c7d27ffd31cf0bf3002650a6f4dc |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/conformance/results/pyrefly/specialtypes_sentinels.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
| conformance/results/pyright/specialtypes_sentinels.toml | https://github.com/python/typing/pull/2277/files#diff-ab3dc525bd1f78d98471d87efd8fb1ce8236b7d477b6ed67c95dbb3d34aa2704 |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/conformance/results/pyright/specialtypes_sentinels.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
| conformance/results/results.html | https://github.com/python/typing/pull/2277/files#diff-1026e9a5ffcc2a9a0af3bc5b250ce31a9562dc874f49390536bb28e2e129c381 |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/conformance/results/results.html |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| conformance/results/ty/specialtypes_sentinels.toml | https://github.com/python/typing/pull/2277/files#diff-2754d114e5b632ed783b7e3c55a1456b8cdea39a213608b05ea6bdb2a5c79653 |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/conformance/results/ty/specialtypes_sentinels.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
| conformance/results/zuban/specialtypes_sentinels.toml | https://github.com/python/typing/pull/2277/files#diff-e04ce743726b8f59d19cbea0b6d3e4d6f4f7d24d7ffba06ce586abcf20fb556f |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/conformance/results/zuban/specialtypes_sentinels.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
| conformance/tests/specialtypes_sentinels.py | https://github.com/python/typing/pull/2277/files#diff-69a3e1ca4988c354da27135f7475130290c169a6e3056e910cfa22b31d986ac0 |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/conformance/tests/specialtypes_sentinels.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| carljm | https://github.com/carljm |
| Jul 27, 2026 | https://github.com/python/typing/pull/2277/files#r3659573504 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| astral-sh/ty#4091 | https://github.com/astral-sh/ty/issues/4091 |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Jul 27, 2026 | https://github.com/python/typing/pull/2277/files#r3661446846 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| carljm | https://github.com/carljm |
| Jul 27, 2026 | https://github.com/python/typing/pull/2277/files#r3661486600 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Jul 27, 2026 | https://github.com/python/typing/pull/2277/files#r3661496775 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| carljm | https://github.com/carljm |
| Jul 27, 2026 | https://github.com/python/typing/pull/2277/files#r3661632619 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| docs/spec/annotations.rst | https://github.com/python/typing/pull/2277/files#diff-184b677a01f925aa7d9a29fabc8c946f2d99da37850f89210ad5a2ff33fa52cf |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/docs/spec/annotations.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
|
| https://github.com/python/typing/pull/2277/files#diff-184b677a01f925aa7d9a29fabc8c946f2d99da37850f89210ad5a2ff33fa52cf |
|
| https://github.com/python/typing/pull/2277/files#diff-184b677a01f925aa7d9a29fabc8c946f2d99da37850f89210ad5a2ff33fa52cf |
| docs/spec/special-types.rst | https://github.com/python/typing/pull/2277/files#diff-a4c6e6971a9fffe88effa082aba7021df4a18a0fc5f8e2d03b866073933291b7 |
|
View file
| https://github.com/JelleZijlstra/typing/blob/9e7b570ddea26be7ed51eef09700d4b868dde765/docs/spec/special-types.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/2277/{{ revealButtonHref }} |
|
| https://github.com/python/typing/pull/2277/files#diff-a4c6e6971a9fffe88effa082aba7021df4a18a0fc5f8e2d03b866073933291b7 |
| cdce8p | https://github.com/cdce8p |
| May 1, 2026 | https://github.com/python/typing/pull/2277/files#r3174549380 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| carljm | https://github.com/carljm |
| May 1, 2026 | https://github.com/python/typing/pull/2277/files#r3175044102 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 2, 2026 | https://github.com/python/typing/pull/2277/files#r3176661367 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/pydantic/pydantic/blob/597fa692eaaa90132f683e88ca994f28e185463b/pydantic-core/python/pydantic_core/__init__.py#L148 | https://github.com/pydantic/pydantic/blob/597fa692eaaa90132f683e88ca994f28e185463b/pydantic-core/python/pydantic_core/__init__.py#L148 |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| cdce8p | https://github.com/cdce8p |
| May 2, 2026 | https://github.com/python/typing/pull/2277/files#r3176924411 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/pydantic/pydantic/blob/597fa692eaaa90132f683e88ca994f28e185463b/pydantic-core/python/pydantic_core/__init__.py#L148 | https://github.com/pydantic/pydantic/blob/597fa692eaaa90132f683e88ca994f28e185463b/pydantic-core/python/pydantic_core/__init__.py#L148 |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 2, 2026 | https://github.com/python/typing/pull/2277/files#r3176935796 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| cdce8p | https://github.com/cdce8p |
| May 2, 2026 | https://github.com/python/typing/pull/2277/files#r3176949366 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
| Viicos | https://github.com/Viicos |
| May 21, 2026 | https://github.com/python/typing/pull/2277/files#r3281207499 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| explicitly document | https://pydantic.dev/docs/validation/latest/concepts/experimental/#missing-sentinel |
| Please reload this page | https://github.com/python/typing/pull/2277/files |
|
| https://github.com/python/typing/pull/2277/files#diff-a4c6e6971a9fffe88effa082aba7021df4a18a0fc5f8e2d03b866073933291b7 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |