René's URL Explorer Experiment


Title: bpo-42345: Fix three issues with typing.Literal parameters by uriyyo · Pull Request #23294 · python/cpython · GitHub

Open Graph Title: bpo-42345: Fix three issues with typing.Literal parameters by uriyyo · Pull Request #23294 · python/cpython

X Title: bpo-42345: Fix three issues with typing.Literal parameters by uriyyo · Pull Request #23294 · python/cpython

Description: Literal equality no longer depends on the order of arguments. Fix issue related to typing.Literal caching by adding typed parameter to typing._tp_cache function. Add deduplication of typing.Literal arguments. https://bugs.python.org/issue42345 Automerge-Triggered-By: GH:gvanrossum

Open Graph Description: Literal equality no longer depends on the order of arguments. Fix issue related to typing.Literal caching by adding typed parameter to typing._tp_cache function. Add deduplication of typing.Literal...

X Description: Literal equality no longer depends on the order of arguments. Fix issue related to typing.Literal caching by adding typed parameter to typing._tp_cache function. Add deduplication of typing.Literal...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bc450b54-4542-8ca0-fa21-8e2115a139b7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8340:2E599F:612B84:84D27E:6969DC8A
html-safe-nonce81f858077465a8d93c17c1b3bceb6a2e106198bcda237147f8e4e8d978915148
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzQwOjJFNTk5Rjo2MTJCODQ6ODREMjdFOjY5NjlEQzhBIiwidmlzaXRvcl9pZCI6IjUwNDgwMzAxOTQ2ODExMDk2NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb29310ff49c31e76a827fe029ea0c50c705336b92171affca8c48541cb2e3042
hovercard-subject-tagpull_request:521195333
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/23294/files
twitter:imagehttps://avatars.githubusercontent.com/u/32038156?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/32038156?s=400&v=4
og:image:altLiteral equality no longer depends on the order of arguments. Fix issue related to typing.Literal caching by adding typed parameter to typing._tp_cache function. Add deduplication of typing.Literal...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/23294/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23294%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23294%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%2Fcpython
Reloadhttps://github.com/python/cpython/pull/23294/files
Reloadhttps://github.com/python/cpython/pull/23294/files
Reloadhttps://github.com/python/cpython/pull/23294/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
miss-islingtonhttps://github.com/miss-islington
python:masterhttps://github.com/python/cpython/tree/master
uriyyo:fix-issue-42345https://github.com/uriyyo/cpython/tree/fix-issue-42345
Conversation 74 https://github.com/python/cpython/pull/23294
Commits 8 https://github.com/python/cpython/pull/23294/commits
Checks 0 https://github.com/python/cpython/pull/23294/checks
Files changed https://github.com/python/cpython/pull/23294/files
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
bpo-42345: Fix three issues with typing.Literal parameters https://github.com/python/cpython/pull/23294/files#top
Show all changes 8 commits https://github.com/python/cpython/pull/23294/files
03637e2 bpo-42345: Literal equality no longer depends on order of arguments uriyyo Nov 15, 2020 https://github.com/python/cpython/pull/23294/commits/03637e2cb248f7ebf7ac45f6ecce439ffe3f6c61
4fbf590 Use value and type for Literal equality check uriyyo Nov 15, 2020 https://github.com/python/cpython/pull/23294/commits/4fbf5900c8d946942890d167eeb7f107841df07b
ea06129 Return Literal equality test uriyyo Nov 15, 2020 https://github.com/python/cpython/pull/23294/commits/ea06129e629c947bebee7924a4542b09fb21e611
b8a597a Use typed lru_cache for Literal type uriyyo Nov 15, 2020 https://github.com/python/cpython/pull/23294/commits/b8a597a7279d54957158473fa5efa4d81884c586
19b0952 Update Misc/NEWS uriyyo Nov 15, 2020 https://github.com/python/cpython/pull/23294/commits/19b095203c84d750a7ef52b977ee1110a1adedbb
9d2187a Update signature of _tp_cache function uriyyo Nov 16, 2020 https://github.com/python/cpython/pull/23294/commits/9d2187a907f6d3e023ca946dde59bf0a1ceafb20
942dece Add Literal arguments deduplication uriyyo Nov 16, 2020 https://github.com/python/cpython/pull/23294/commits/942dece7b6503bfda8fbdf4d4db04ce5c095a796
f653d68 Update News. Add tests for Literal.__args__ uriyyo Nov 17, 2020 https://github.com/python/cpython/pull/23294/commits/f653d680e2fbf94e254f32a8a7e24cb0f95369a9
Clear filters https://github.com/python/cpython/pull/23294/files
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
test_typing.py https://github.com/python/cpython/pull/23294/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
typing.py https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
ACKS https://github.com/python/cpython/pull/23294/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0
2020-11-15-15-23-34.bpo-42345.hiIR7x.rst https://github.com/python/cpython/pull/23294/files#diff-c54328094daf16115dd5353147c05bde07f10d38c93906d6b35717bd5c51dc95
Lib/test/test_typing.pyhttps://github.com/python/cpython/pull/23294/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
View file https://github.com/uriyyo/cpython/blob/f653d680e2fbf94e254f32a8a7e24cb0f95369a9/Lib/test/test_typing.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23294/{{ revealButtonHref }}
https://github.com/python/cpython/pull/23294/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
https://github.com/python/cpython/pull/23294/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
https://github.com/python/cpython/pull/23294/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
https://github.com/python/cpython/pull/23294/files#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
Lib/typing.pyhttps://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
View file https://github.com/uriyyo/cpython/blob/f653d680e2fbf94e254f32a8a7e24cb0f95369a9/Lib/typing.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23294/{{ revealButtonHref }}
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
Please reload this pagehttps://github.com/python/cpython/pull/23294/files
https://github.com/python/cpython/pull/23294/files#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
Misc/ACKShttps://github.com/python/cpython/pull/23294/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0
View file https://github.com/uriyyo/cpython/blob/f653d680e2fbf94e254f32a8a7e24cb0f95369a9/Misc/ACKS
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23294/{{ revealButtonHref }}
https://github.com/python/cpython/pull/23294/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0
https://github.com/python/cpython/pull/23294/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0
Misc/NEWS.d/next/Library/2020-11-15-15-23-34.bpo-42345.hiIR7x.rsthttps://github.com/python/cpython/pull/23294/files#diff-c54328094daf16115dd5353147c05bde07f10d38c93906d6b35717bd5c51dc95
View file https://github.com/uriyyo/cpython/blob/f653d680e2fbf94e254f32a8a7e24cb0f95369a9/Misc/NEWS.d/next/Library/2020-11-15-15-23-34.bpo-42345.hiIR7x.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23294/{{ revealButtonHref }}
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.