René's URL Explorer Experiment


Title: Add explanation of singletons in unions to PEP484 by ilevkivskyi · Pull Request #240 · python/typing · GitHub

Open Graph Title: Add explanation of singletons in unions to PEP484 by ilevkivskyi · Pull Request #240 · python/typing

X Title: Add explanation of singletons in unions to PEP484 by ilevkivskyi · Pull Request #240 · python/typing

Description: Python static typing home. Hosts the documentation and a user help forum. - Add explanation of singletons in unions to PEP484 by ilevkivskyi · Pull Request #240 · python/typing

Open Graph Description: I tried to keep discussion to a minimum, only including simple examples. I think it is better to add this section right after discussion of Optional, that is actually also a Union with a singleton ...

X Description: I tried to keep discussion to a minimum, only including simple examples. I think it is better to add this section right after discussion of Optional, that is actually also a Union with a singleton ...

Opengraph URL: https://github.com/python/typing/pull/240

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:7796660a-cd51-b293-583d-3ba89bb071f6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD370:24D752:EF597D:1416AB9:6B0059B8
html-safe-nonce344a7a063b95bfcd754d58d10dd06a36e520a3271a46dc90794cbb366970b2e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzcwOjI0RDc1MjpFRjU5N0Q6MTQxNkFCOTo2QjAwNTlCOCIsInZpc2l0b3JfaWQiOiI2MTkzOTc0ODQyNzY5ODI0MTg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3d06c034567cfbce024f2bc473297e55baed587d5667259b59511790c1ba1f69
hovercard-subject-tagpull_request:76200322
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/typing/240/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2e160a6c9119cd3d71fd388a8bbd99b30a4f6fb1adf0e27dec78172ced2a50e2/python/typing/pull/240
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2e160a6c9119cd3d71fd388a8bbd99b30a4f6fb1adf0e27dec78172ced2a50e2/python/typing/pull/240
og:image:altI tried to keep discussion to a minimum, only including simple examples. I think it is better to add this section right after discussion of Optional, that is actually also a Union with a singleton ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
turbo-cache-controlno-cache
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
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
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typing/pull/240#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F240
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%2Ftyping%2Fpull%2F240
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%2Ftyping
Reloadhttps://github.com/python/typing/pull/240
Reloadhttps://github.com/python/typing/pull/240
Reloadhttps://github.com/python/typing/pull/240
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
https://github.com/python/typing
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/typing/tree/master
ilevkivskyi:masterhttps://github.com/ilevkivskyi/typehinting/tree/master
Conversationhttps://github.com/python/typing/pull/240
Commits3 (3)https://github.com/python/typing/pull/240/commits
Checkshttps://github.com/python/typing/pull/240/checks
Files changedhttps://github.com/python/typing/pull/240/files
Add explanation of singletons in unions to PEP484https://github.com/python/typing/pull/240#top
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/typing/tree/master
ilevkivskyi:masterhttps://github.com/ilevkivskyi/typehinting/tree/master
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 4, 2016https://github.com/python/typing/pull/240#issue-163743051
Please reload this pagehttps://github.com/python/typing/pull/240
https://github.com/ilevkivskyi
Add explanation of singletons in unions to PEP484https://github.com/python/typing/pull/240/commits/7f0661d305ae18f53282566d1683041211a0a0b7
7f0661dhttps://github.com/python/typing/pull/240/commits/7f0661d305ae18f53282566d1683041211a0a0b7
gvanrossumhttps://github.com/gvanrossum
Jul 5, 2016 https://github.com/python/typing/pull/240#discussion-diff-69497896
View reviewed changes https://github.com/python/typing/pull/240/files/7f0661d305ae18f53282566d1683041211a0a0b7#diff-da7d638a3d189515209a80943cdc8eaf196b75d20ccc0d6a796393c025d1f975
pep-0484.txthttps://github.com/python/typing/pull/240/files#diff-da7d638a3d189515209a80943cdc8eaf196b75d20ccc0d6a796393c025d1f975
gvanrossumhttps://github.com/gvanrossum
Jul 5, 2016https://github.com/python/typing/pull/240#discussion_r69497896
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/240
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 5, 2016https://github.com/python/typing/pull/240#issuecomment-230368912
Please reload this pagehttps://github.com/python/typing/pull/240
https://github.com/ilevkivskyi
Response to comments, added one more example, corrected a typohttps://github.com/python/typing/pull/240/commits/28f9095199da4e9d2db955d5e6bcf756302afadf
28f9095https://github.com/python/typing/pull/240/commits/28f9095199da4e9d2db955d5e6bcf756302afadf
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 5, 2016https://github.com/python/typing/pull/240#issuecomment-230397047
Please reload this pagehttps://github.com/python/typing/pull/240
JukkaLhttps://github.com/JukkaL
Jul 5, 2016 https://github.com/python/typing/pull/240#discussion-diff-69537195
View reviewed changes https://github.com/python/typing/pull/240/files/28f9095199da4e9d2db955d5e6bcf756302afadf#diff-da7d638a3d189515209a80943cdc8eaf196b75d20ccc0d6a796393c025d1f975
pep-0484.txthttps://github.com/python/typing/pull/240/files#diff-da7d638a3d189515209a80943cdc8eaf196b75d20ccc0d6a796393c025d1f975
JukkaLhttps://github.com/JukkaL
Jul 5, 2016https://github.com/python/typing/pull/240#discussion_r69537195
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typing/pull/240
Implemented style correctionshttps://github.com/python/typing/pull/240/commits/0f55c3114cc506a409ed99d3102cb6d730ded879
0f55c31https://github.com/python/typing/pull/240/commits/0f55c3114cc506a409ed99d3102cb6d730ded879
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 5, 2016https://github.com/python/typing/pull/240#issuecomment-230442074
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/typing/pull/240
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
28c3d32https://github.com/python/typing/commit/28c3d32ced7ebdf52a65f897b8369067351e75be
Jul 5, 2016https://github.com/python/typing/pull/240#event-713256944
gvanrossumhttps://github.com/gvanrossum
Jul 5, 2016 https://github.com/python/typing/pull/240#ref-commit-bf22a02
Add explanation of singletons in unions to PEP484https://github.com/python/peps/commit/bf22a02332c1ecccf3c7dcc21ba6e8433dd074bc
bf22a02https://github.com/python/peps/commit/bf22a02332c1ecccf3c7dcc21ba6e8433dd074bc
python/typing#240https://github.com/python/typing/pull/240
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 5, 2016 https://github.com/python/typing/pull/240#ref-issue-163894237
Support enums in unions per PEP 484 python/mypy#1803 https://github.com/python/mypy/issues/1803
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 5, 2016https://github.com/python/typing/pull/240#issuecomment-230533088
python/mypy#1803https://github.com/python/mypy/issues/1803
Please reload this pagehttps://github.com/python/typing/pull/240
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 5, 2016https://github.com/python/typing/pull/240#issuecomment-230626851
python/mypy#1803https://github.com/python/mypy/issues/1803
Please reload this pagehttps://github.com/python/typing/pull/240
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 5, 2016https://github.com/python/typing/pull/240#issuecomment-230627377
Please reload this pagehttps://github.com/python/typing/pull/240
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jul 14, 2016 https://github.com/python/typing/pull/240#ref-issue-160863176
Types for singleton objects #236 https://github.com/python/typing/issues/236
Supporting Ellipsis as a value python/mypy#7818 https://github.com/python/mypy/issues/7818
Support Ellipsis as a type per se #684 https://github.com/python/typing/issues/684
Type check sentinel values pydata/xarray#3472 https://github.com/pydata/xarray/pull/3472
https://github.co/hiddenchars
https://github.com/python/typing/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%2Ftyping%2Fpull%2F240
Please reload this pagehttps://github.com/python/typing/pull/240
Please reload this pagehttps://github.com/python/typing/pull/240
https://github.com/ilevkivskyi
https://github.com/gvanrossum
https://github.com/JukkaL
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.