René's URL Explorer Experiment


Title: gh-149083: Convert dataclasses.MISSING and dataclasses.KW_ONLY to sentinels by JelleZijlstra · Pull Request #149086 · python/cpython · GitHub

Open Graph Title: gh-149083: Convert dataclasses.MISSING and dataclasses.KW_ONLY to sentinels by JelleZijlstra · Pull Request #149086 · python/cpython

X Title: gh-149083: Convert dataclasses.MISSING and dataclasses.KW_ONLY to sentinels by JelleZijlstra · Pull Request #149086 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: There were comments claiming these were implemented as custom classes to give a nicer repr(), but the repr() wasn't all that nice: >>> repr(dataclasses.MISSING) '<dataclasses._M...

X Description: There were comments claiming these were implemented as custom classes to give a nicer repr(), but the repr() wasn&#39;t all that nice: &gt;&gt;&gt; repr(dataclasses.MISSING) &#3...

Opengraph URL: https://github.com/python/cpython/pull/149086

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d9983b96-76c4-a8c2-2ff8-122d58161730
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE968:26ECEB:3CE8423:4D6A0C7:6B01F6D5
html-safe-nonce04c0ec1ff58cbaf86f4b1e19fa5330b44214540c074162f2c45782cbb4691c06
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTY4OjI2RUNFQjozQ0U4NDIzOjRENkEwQzc6NkIwMUY2RDUiLCJ2aXNpdG9yX2lkIjoiMTEyODU3ODk3MTc5ODIwNjE2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac057b348d6ffeb8abd4a71fc09ec65b4f940a8ccecb669223eae018058f782d9c
hovercard-subject-tagpull_request:3593509859
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/149086/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6f59c430f39cc8e168bc479bf35742b7ed5426d6c2a399d1e9e4162deddec511/python/cpython/pull/149086
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6f59c430f39cc8e168bc479bf35742b7ed5426d6c2a399d1e9e4162deddec511/python/cpython/pull/149086
og:image:altThere were comments claiming these were implemented as custom classes to give a nicer repr(), but the repr() wasn't all that nice: >>> repr(dataclasses.MISSING) '<dataclasses._M...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJelleZijlstra
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/149086#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149086
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149086
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/149086
Reloadhttps://github.com/python/cpython/pull/149086
Reloadhttps://github.com/python/cpython/pull/149086
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
JelleZijlstra:datacls-missinghttps://github.com/JelleZijlstra/cpython/tree/datacls-missing
Conversationhttps://github.com/python/cpython/pull/149086
Commits1 (1)https://github.com/python/cpython/pull/149086/commits
Checkshttps://github.com/python/cpython/pull/149086/checks
Files changedhttps://github.com/python/cpython/pull/149086/files
gh-149083: Convert dataclasses.MISSING and dataclasses.KW_ONLY to sentinelshttps://github.com/python/cpython/pull/149086#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
JelleZijlstra:datacls-missinghttps://github.com/JelleZijlstra/cpython/tree/datacls-missing
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 28, 2026https://github.com/python/cpython/pull/149086#issue-4340347630
Please reload this pagehttps://github.com/python/cpython/pull/149086
Use PEP 661 (sentinels) in the standard library #149083https://github.com/python/cpython/issues/149083
Please reload this pagehttps://github.com/python/cpython/pull/149086
https://github.com/JelleZijlstra
pythongh-149083https://github.com/python/cpython/issues/149083
: Convert dataclasses.MISSING and dataclasses.KW_ONLY …https://github.com/python/cpython/pull/149086/commits/e333ad48c3155bb502ce818e7d9e8a598210da6d
e333ad4https://github.com/python/cpython/pull/149086/commits/e333ad48c3155bb502ce818e7d9e8a598210da6d
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
ericvsmithhttps://github.com/ericvsmith
code ownerhttps://github.com/python/cpython/blob/d2f506ae07e0bc097039634a28cf85b5d804ef72/.github/CODEOWNERS#L426
April 28, 2026 03:18https://github.com/python/cpython/pull/149086#event-24931226619
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 28, 2026https://github.com/python/cpython/pull/149086#event-24931227620
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 28, 2026 https://github.com/python/cpython/pull/149086#ref-issue-4340199889
Use PEP 661 (sentinels) in the standard library #149083 https://github.com/python/cpython/issues/149083
https://github.com/ericvsmith
ericvsmithhttps://github.com/ericvsmith
Apr 29, 2026https://github.com/python/cpython/pull/149086#issuecomment-4345904747
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/149086
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Apr 30, 2026https://github.com/python/cpython/pull/149086#issuecomment-4348424480
Please reload this pagehttps://github.com/python/cpython/pull/149086
https://github.com/ericvsmith
ericvsmithhttps://github.com/ericvsmith
Apr 30, 2026 https://github.com/python/cpython/pull/149086#pullrequestreview-4201891354
View reviewed changes https://github.com/python/cpython/pull/149086/files/e333ad48c3155bb502ce818e7d9e8a598210da6d
ericvsmithhttps://github.com/ericvsmith
https://github.com/python/cpython/pull/149086#pullrequestreview-4201891354
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149086
Lib/test/test_dataclasses/__init__.pyhttps://github.com/python/cpython/pull/149086/files/e333ad48c3155bb502ce818e7d9e8a598210da6d#diff-212e368b34eb9b134f87e765787d6d26b747235a358e13da8922f83861c0d676
ericvsmithhttps://github.com/ericvsmith
Apr 30, 2026https://github.com/python/cpython/pull/149086#discussion_r3165168310
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149086
ericvsmithhttps://github.com/ericvsmith
Apr 30, 2026https://github.com/python/cpython/pull/149086#discussion_r3165170340
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149086
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 30, 2026https://github.com/python/cpython/pull/149086#event-25015148453
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
1695221https://github.com/python/cpython/commit/16952218d0535904236e8a39851133688c9ce1f0
Apr 30, 2026https://github.com/python/cpython/pull/149086#event-25016463466
Please reload this pagehttps://github.com/python/cpython/pull/149086
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Apr 30, 2026https://github.com/python/cpython/pull/149086#event-25016464560
musicinmybrainhttps://github.com/musicinmybrain
Jun 1, 2026 https://github.com/python/cpython/pull/149086#ref-commit-33670f4
https://github.com/musicinmybrain
Adapt for dataclasses._MISSING_TYPE replaced with sentinel in Python …https://github.com/musicinmybrain/snakemake/commit/33670f4342071c5ca0375e3ae579428b7d29e57c
33670f4https://github.com/musicinmybrain/snakemake/commit/33670f4342071c5ca0375e3ae579428b7d29e57c
python/cpython#149086https://github.com/python/cpython/pull/149086
https://github.com/musicinmybrain
musicinmybrainhttps://github.com/musicinmybrain
Jun 1, 2026 https://github.com/python/cpython/pull/149086#ref-pullrequest-4562526627
fix: Adapt for dataclasses._MISSING_TYPE replaced with sentinel in Python 3.15 snakemake/snakemake#4211 https://github.com/snakemake/snakemake/pull/4211
musicinmybrainhttps://github.com/musicinmybrain
Jun 1, 2026 https://github.com/python/cpython/pull/149086#ref-commit-76fcb10
https://github.com/musicinmybrain
Adapt for dataclasses._MISSING_TYPE replaced with sentinel in Python …https://github.com/musicinmybrain/snakemake/commit/76fcb10743ae5800a67f44b79376a4fa6cfc3bd5
76fcb10https://github.com/musicinmybrain/snakemake/commit/76fcb10743ae5800a67f44b79376a4fa6cfc3bd5
python/cpython#149086https://github.com/python/cpython/pull/149086
musicinmybrainhttps://github.com/musicinmybrain
Jun 1, 2026 https://github.com/python/cpython/pull/149086#ref-commit-6d13f11
https://github.com/musicinmybrain
Adapt for dataclasses._MISSING_TYPE replaced with sentinel in Python …https://github.com/musicinmybrain/snakemake/commit/6d13f1135a97f357c96fd42f2ae46d8c0366061e
6d13f11https://github.com/musicinmybrain/snakemake/commit/6d13f1135a97f357c96fd42f2ae46d8c0366061e
python/cpython#149086https://github.com/python/cpython/pull/149086
johanneskoesterhttps://github.com/johanneskoester
Jun 1, 2026 https://github.com/python/cpython/pull/149086#ref-commit-b7fb8df
https://github.com/musicinmybrain
fix: Adapt for dataclasses._MISSING_TYPE replaced with sentinel in Py…https://github.com/snakemake/snakemake/commit/b7fb8dfb5741964e235efc5770c4ff37c74f7d20
b7fb8dfhttps://github.com/snakemake/snakemake/commit/b7fb8dfb5741964e235efc5770c4ff37c74f7d20
#4211https://github.com/snakemake/snakemake/pull/4211
python/cpython#149086https://github.com/python/cpython/pull/149086
https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sentinelhttps://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sentinel
https://github.com/snakemake/snakemake.githttps://github.com/snakemake/snakemake.git
https://github.com/python/cpython/blob/f31a89bb901067dd105b00cfa90523cf7ffdbbdd/Lib/argparse.py#L2877-L2882https://github.com/python/cpython/blob/f31a89bb901067dd105b00cfa90523cf7ffdbbdd/Lib/argparse.py#L2877-L2882
https://docs.python.org/3.14/library/dataclasses.html#dataclasses.MISSINGhttps://docs.python.org/3.14/library/dataclasses.html#dataclasses.MISSING
1801419https://github.com/snakemake/snakemake/commit/1801419da1c991dcbeb216c24d9ef5bc6e1a993d
https://docs.python.org/3.14/library/dataclasses.html#dataclasses.fieldhttps://docs.python.org/3.14/library/dataclasses.html#dataclasses.field
https://github.com/snakemake/snakemake/blob/main/docs/project_info/contributing.rsthttps://github.com/snakemake/snakemake/blob/main/docs/project_info/contributing.rst
https://github.com/caseneuve
caseneuvehttps://github.com/caseneuve
Jul 19, 2026 https://github.com/python/cpython/pull/149086#ref-pullrequest-4922605754
[dataclasses] Fix MISSING and KW_ONLY for Python 3.15+ python/typeshed#16035 https://github.com/python/typeshed/pull/16035
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Aug 9, 2026 https://github.com/python/cpython/pull/149086#ref-issue-5104732083
Upcoming incompatibility with Python 3.15 jeeftor/weatherflow4py#138 https://github.com/jeeftor/weatherflow4py/issues/138
https://github.com/fregataa
fregataahttps://github.com/fregataa
Aug 17, 2026 https://github.com/python/cpython/pull/149086#ref-pullrequest-5167685928
gh-149083: Document that dataclasses.MISSING and KW_ONLY are sentinels #155919 https://github.com/python/cpython/pull/155919
https://github.com/cristianchiriac
cristianchiriachttps://github.com/cristianchiriac
Oct 16, 2026 https://github.com/python/cpython/pull/149086#ref-pullrequest-5888811431
Support Python 3.15: use dataclasses.MISSING instead of _MISSING_TYPE yukinarit/pyserde#812 https://github.com/yukinarit/pyserde/pull/812
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149086
https://github.com/ericvsmith
ericvsmith https://github.com/ericvsmith
https://github.com/python/cpython/pull/149086/files/e333ad48c3155bb502ce818e7d9e8a598210da6d
Please reload this pagehttps://github.com/python/cpython/pull/149086
Please reload this pagehttps://github.com/python/cpython/pull/149086
https://github.com/JelleZijlstra
https://github.com/ericvsmith
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.