René's URL Explorer Experiment


Title: Backport fixes to Literal from 3.11? · Issue #147 · python/typing_extensions · GitHub

Open Graph Title: Backport fixes to Literal from 3.11? · Issue #147 · python/typing_extensions

X Title: Backport fixes to Literal from 3.11? · Issue #147 · python/typing_extensions

Description: Hello, I see @AlexWaygood recently backported some fixes to Literal for Python versions prior to 3.9.1. Might you consider doing the same for some further fixes (last commit here) that only appeared in 3.11? Those issues -- basically pro...

Open Graph Description: Hello, I see @AlexWaygood recently backported some fixes to Literal for Python versions prior to 3.9.1. Might you consider doing the same for some further fixes (last commit here) that only appeare...

X Description: Hello, I see @AlexWaygood recently backported some fixes to Literal for Python versions prior to 3.9.1. Might you consider doing the same for some further fixes (last commit here) that only appeare...

Opengraph URL: https://github.com/python/typing_extensions/issues/147

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Backport fixes to Literal from 3.11?","articleBody":"Hello, I see @AlexWaygood recently backported some fixes to `Literal` for Python versions prior to 3.9.1. Might you consider doing the same for some further fixes (last commit [here](https://github.com/python/cpython/commit/634984d7dbdd91e0a51a793eed4d870e139ae1e0)) that only appeared in 3.11? Those issues -- basically problems with the type cache causing `Literal[True]` to return `Literal[1]` or vice versa when both are used -- break my code since I use annotations for runtime typechecking. If you could put the 3.11 implementation of `Literal` in `typing_extensions` then everybody could use it on older Python versions without needing their own monkeypatch to fix this problem. Thanks!\r\n\r\n(If you would like I can try putting together a PR for this, although I'm not sure I understand the differences between your version of `Literal` and the 3.11 one well enough to do it properly.)\r\n\r\n","author":{"url":"https://github.com/dfremont","@type":"Person","name":"dfremont"},"datePublished":"2023-04-19T13:42:28Z","url":"https://github.com/python/typing_extensions/issues/147"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f5f5895b-4661-1917-fe1d-2f043312a360
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED78:346DEB:4BAF0:673F0:6AFE30CE
html-safe-nonce6169cf33d1306b6c9024beafa55cbabc1f54509514edbf4474ef75a9315273f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDc4OjM0NkRFQjo0QkFGMDo2NzNGMDo2QUZFMzBDRSIsInZpc2l0b3JfaWQiOiI1OTA1ODc0OTMwNTQ0NTU0MTkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf193dd416066cdf11ffd6141d419a98ce0ffe98abe6204d9a834c5776fd9fcbd
hovercard-subject-tagissue:1674929846
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typing_extensions/147/issue_layout
twitter:imagehttps://opengraph.githubassets.com/39c6564b8c0f997f380a83ea3ece9faaae319d348ac96b5ebcd01043a312dd7f/python/typing_extensions/issues/147
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/39c6564b8c0f997f380a83ea3ece9faaae319d348ac96b5ebcd01043a312dd7f/python/typing_extensions/issues/147
og:image:altHello, I see @AlexWaygood recently backported some fixes to Literal for Python versions prior to 3.9.1. Might you consider doing the same for some further fixes (last commit here) that only appeare...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedfremont
hostnamegithub.com
expected-hostnamegithub.com
Noned70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2
turbo-cache-controlno-preview
go-importgithub.com/python/typing_extensions git https://github.com/python/typing_extensions.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id494077289
octolytics-dimension-repository_nwopython/typing_extensions
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id494077289
octolytics-dimension-repository_network_root_nwopython/typing_extensions
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
releaseccb88d9c92abe69245b429398c8a57ae87070c7c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/typing_extensions/issues/147#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping_extensions%2Fissues%2F147
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_extensions%2Fissues%2F147
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Ftyping_extensions
Reloadhttps://github.com/python/typing_extensions/issues/147
Reloadhttps://github.com/python/typing_extensions/issues/147
Reloadhttps://github.com/python/typing_extensions/issues/147
pythonhttps://github.com/python
typing_extensionshttps://github.com/python/typing_extensions
Codehttps://github.com/python/typing_extensions
Issues13 (13)https://github.com/python/typing_extensions/issues
Pull requests5 (5)https://github.com/python/typing_extensions/pulls
Actionshttps://github.com/python/typing_extensions/actions
Projectshttps://github.com/python/typing_extensions/projects
Security and qualityhttps://github.com/python/typing_extensions/security
Insightshttps://github.com/python/typing_extensions/insights
https://github.com/python/typing_extensions
New issuehttps://github.com/login?return_to=https://github.com/python/typing_extensions/issues/147
New issuehttps://github.com/login?return_to=https://github.com/python/typing_extensions/issues/147
#148https://github.com/python/typing_extensions/pull/148
Backport fixes to Literal from 3.11?https://github.com/python/typing_extensions/issues/147#top
#148https://github.com/python/typing_extensions/pull/148
https://github.com/dfremont
dfremonthttps://github.com/dfremont
on Apr 19, 2023https://github.com/python/typing_extensions/issues/147#issue-1674929846
@AlexWaygoodhttps://github.com/AlexWaygood
herehttps://github.com/python/cpython/commit/634984d7dbdd91e0a51a793eed4d870e139ae1e0
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
on Apr 19, 2023https://github.com/python/typing_extensions/issues/147#issuecomment-1514766805
JelleZijlstrahttps://github.com/JelleZijlstra
completedhttps://github.com/python/typing_extensions/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#148https://github.com/python/typing_extensions/pull/148
on Apr 20, 2023https://github.com/python/typing_extensions/issues/147#event-9052782940
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/typing_extensions/issues/147
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/typing_extensions/issues/147
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.