René's URL Explorer Experiment


Title: Annotate 3.14+ ipaddress `version` / `max_prefixlen` as `Literal` by ABruihler · Pull Request #16301 · python/typeshed · GitHub

Open Graph Title: Annotate 3.14+ ipaddress `version` / `max_prefixlen` as `Literal` by ABruihler · Pull Request #16301 · python/typeshed

X Title: Annotate 3.14+ ipaddress `version` / `max_prefixlen` as `Literal` by ABruihler · Pull Request #16301 · python/typeshed

Description: Collection of library stubs for Python, with static types - Annotate 3.14+ ipaddress `version` / `max_prefixlen` as `Literal` by ABruihler · Pull Request #16301 · python/typeshed

Open Graph Description: On 3.14+, _BaseV4 / _BaseV6 declare version and max_prefixlen as bare Finals, so they infer as Literal[4]? — an inferred literal that falls back to int — rather than a declared Literal[4]. .version...

X Description: On 3.14+, _BaseV4 / _BaseV6 declare version and max_prefixlen as bare Finals, so they infer as Literal[4]? — an inferred literal that falls back to int — rather than a declared Literal[4]. .version...

Opengraph URL: https://github.com/python/typeshed/pull/16301

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:7d411f70-3e97-5681-d718-5decd51963a7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDCB0:2069E5:3A796E:4BC825:6AFF8A06
html-safe-nonced8f080c2a34311cc2317b3b05c4f8da77b0b8e8d9ec4387fd1d126386208919d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0IwOjIwNjlFNTozQTc5NkU6NEJDODI1OjZBRkY4QTA2IiwidmlzaXRvcl9pZCI6IjE3MzQxMjU4MTM4NjA2MzMwOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace19bfe14f21328f9c5d630f37beea1022d69f1465505c9bd0e403a6e4306ffb8
hovercard-subject-tagpull_request:4370244597
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/typeshed/16301/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a7231c3dc1beeb171079cc665c4663b707f527bfae706c9bc0206788f4b2cfe6/python/typeshed/pull/16301
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a7231c3dc1beeb171079cc665c4663b707f527bfae706c9bc0206788f4b2cfe6/python/typeshed/pull/16301
og:image:altOn 3.14+, _BaseV4 / _BaseV6 declare version and max_prefixlen as bare Finals, so they infer as Literal[4]? — an inferred literal that falls back to int — rather than a declared Literal[4]. .version...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameABruihler
hostnamegithub.com
expected-hostnamegithub.com
None587ad99a3e443b2e1cb0d3df059ec49ab54389861f13310766dfdeb615fed90d
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
release5bb0fb68d64881d1344f5863d809515d496801e5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/16301#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F16301
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%2Ftypeshed%2Fpull%2F16301
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/16301
Reloadhttps://github.com/python/typeshed/pull/16301
Reloadhttps://github.com/python/typeshed/pull/16301
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests249 (249)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
ABruihlerhttps://github.com/ABruihler
python:mainhttps://github.com/python/typeshed/tree/main
ABruihler:ipaddress-version-literalhttps://github.com/ABruihler/typeshed/tree/ipaddress-version-literal
Conversationhttps://github.com/python/typeshed/pull/16301
Commits4 (4)https://github.com/python/typeshed/pull/16301/commits
Checkshttps://github.com/python/typeshed/pull/16301/checks
Files changedhttps://github.com/python/typeshed/pull/16301/files
Annotate 3.14+ ipaddress version / max_prefixlen as Literalhttps://github.com/python/typeshed/pull/16301#top
ABruihlerhttps://github.com/ABruihler
python:mainhttps://github.com/python/typeshed/tree/main
ABruihler:ipaddress-version-literalhttps://github.com/ABruihler/typeshed/tree/ipaddress-version-literal
https://github.com/ABruihler
ABruihlerhttps://github.com/ABruihler
Aug 26, 2026https://github.com/python/typeshed/pull/16301#issue-5260841817
Please reload this pagehttps://github.com/python/typeshed/pull/16301
0752a11https://github.com/python/typeshed/commit/0752a116c67a104a36a74855ba5430aa46902bfc
44bc4e1https://github.com/python/typeshed/commit/44bc4e1a16a42faa4b1bd1c7e25e337bb47311ef
@srittauhttps://github.com/srittau
python/typing#2351https://github.com/python/typing/issues/2351
Please reload this pagehttps://github.com/python/typeshed/pull/16301
ABruihlerhttps://github.com/ABruihler
August 26, 2026 15:44https://github.com/python/typeshed/pull/16301#commits-pushed-fa5a4fc
https://github.com/ABruihler
https://github.com/claude
Annotate 3.14+ ipaddress version / max_prefixlen as Literalhttps://github.com/python/typeshed/pull/16301/commits/fa5a4fcd2a9c02036bad5af24c2ede40a9dc62ee
fa5a4fchttps://github.com/python/typeshed/pull/16301/commits/fa5a4fcd2a9c02036bad5af24c2ede40a9dc62ee
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/16301/commits/0752a116c67a104a36a74855ba5430aa46902bfc
0752a11https://github.com/python/typeshed/pull/16301/commits/0752a116c67a104a36a74855ba5430aa46902bfc
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F16301
ABruihlerhttps://github.com/ABruihler
August 26, 2026 16:00https://github.com/python/typeshed/pull/16301#commits-pushed-44bc4e1
https://github.com/ABruihler
https://github.com/claude
Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks"https://github.com/python/typeshed/pull/16301/commits/44bc4e1a16a42faa4b1bd1c7e25e337bb47311ef
44bc4e1https://github.com/python/typeshed/pull/16301/commits/44bc4e1a16a42faa4b1bd1c7e25e337bb47311ef
0752a11https://github.com/ABruihler/typeshed/commit/0752a116c67a104a36a74855ba5430aa46902bfc
https://github.com/ABruihler
https://github.com/claude
Silence PYI064 on the explicit Literal annotationshttps://github.com/python/typeshed/pull/16301/commits/5bd8c2331e10af40f9c10eff2013ed6cb107448d
5bd8c23https://github.com/python/typeshed/pull/16301/commits/5bd8c2331e10af40f9c10eff2013ed6cb107448d
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 26, 2026https://github.com/python/typeshed/pull/16301#issuecomment-5430500596
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/16301
https://github.com/ABruihler
ABruihlerhttps://github.com/ABruihler
August 26, 2026 20:07https://github.com/python/typeshed/pull/16301#event-30065878174
https://github.com/srittau
srittauhttps://github.com/srittau
Aug 31, 2026 https://github.com/python/typeshed/pull/16301#ref-issue-5301549182
Finals and Literals: Spec contradiction python/typing#2351 https://github.com/python/typing/issues/2351
https://github.com/srittau
srittauhttps://github.com/srittau
Aug 31, 2026https://github.com/python/typeshed/pull/16301#issuecomment-5480111036
The typing spec sayshttps://typing.python.org/en/latest/spec/qualifiers.html#syntax
PEP 591https://peps.python.org/pep-0591/
PEP 586https://peps.python.org/pep-0586/
python/typing#2351https://github.com/python/typing/issues/2351
Please reload this pagehttps://github.com/python/typeshed/pull/16301
https://github.com/srittau
srittauhttps://github.com/srittau
status: deferred https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22status%3A%20deferred%22
Aug 31, 2026https://github.com/python/typeshed/pull/16301#event-30286479668
https://github.com/srittau
srittauhttps://github.com/srittau
August 31, 2026 14:53https://github.com/python/typeshed/pull/16301#event-30286484625
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F16301
Please reload this pagehttps://github.com/python/typeshed/pull/16301
status: deferred https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22status%3A%20deferred%22
Please reload this pagehttps://github.com/python/typeshed/pull/16301
https://github.com/ABruihler
https://github.com/srittau
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.