René's URL Explorer Experiment


Title: Update to latest supported python versions by mvaught02 · Pull Request #190 · python-hyper/hyperlink · GitHub

Open Graph Title: Update to latest supported python versions by mvaught02 · Pull Request #190 · python-hyper/hyperlink

X Title: Update to latest supported python versions by mvaught02 · Pull Request #190 · python-hyper/hyperlink

Description: Addresses #185 and uplift discussion from #189 Summary of Changes: Drop Python 2 Support: Removed all Python 2 compatibility code (six, future imports related to py2, PY2 conditionals, unicode vs str logic). Modernize Type Hints: Converted comment-based type hints to inline Python 3 type hints across the codebase. Updated Imports: Moved typing-only imports to if TYPE_CHECKING: blocks and used from future import annotations to avoid runtime overhead and circular imports as well as appease the latest lint rules. Update Supported Versions: Updated setup.py, tox.ini, and docs/index.rst to support Python 3.10–3.14. Removed pypy (python2) from default test envs. Remove Legacy Code: Deleted src/hyperlink/_socket.py (ctypes fallback for inet_pton) and src/hyperlink/test/test_socket.py. Fix Hypothesis Strategy: Fixed a bug in hostname_labels strategy where generated IDNs could exceed the maximum allowed length in Punycode, causing test failures. Open questions... do we want to go further back to older python versions? doing so will require using containers to get old python versions (github actions only supports 3.10-3.14) but if we want to take this further back from a test perspective we could if thats critical from a code perspective i think this would work all the way back to 3.7+

Open Graph Description: Addresses #185 and uplift discussion from #189 Summary of Changes: Drop Python 2 Support: Removed all Python 2 compatibility code (six, future imports related to py2, PY2 conditionals, unicode vs ...

X Description: Addresses #185 and uplift discussion from #189 Summary of Changes: Drop Python 2 Support: Removed all Python 2 compatibility code (six, future imports related to py2, PY2 conditionals, unicode vs ...

Opengraph URL: https://github.com/python-hyper/hyperlink/pull/190

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:32f77f13-b0cb-7bd1-5fa6-84314a308868
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A92:1F89:9D0604:DCBBA4:6B06E8CA
html-safe-nonce6f1b19426beb2d80c8a56ca8b88d96c3250615c88d3756b93f9568a516eb3cbe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTkyOjFGODk6OUQwNjA0OkRDQkJBNDo2QjA2RThDQSIsInZpc2l0b3JfaWQiOiIzMTY5Nzc4NTkwMjkyNTY4MjY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccdd421366c6a9980ea2bf91a43647f8fa94e81cd09b71adbb7cf88fa39f03d4a
hovercard-subject-tagpull_request:3332817708
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-hyper/hyperlink/pull/190/files
twitter:imagehttps://avatars.githubusercontent.com/u/82733962?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/82733962?s=400&v=4
og:image:altAddresses #185 and uplift discussion from #189 Summary of Changes: Drop Python 2 Support: Removed all Python 2 compatibility code (six, future imports related to py2, PY2 conditionals, unicode vs ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-hyper/hyperlink git https://github.com/python-hyper/hyperlink.git
octolytics-dimension-user_id13035907
octolytics-dimension-user_loginpython-hyper
octolytics-dimension-repository_id82321340
octolytics-dimension-repository_nwopython-hyper/hyperlink
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id82321340
octolytics-dimension-repository_network_root_nwopython-hyper/hyperlink
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
releaseaf8913cd0f2f77c41796be449ac66a9108825abc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-hyper/hyperlink/pull/190/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-hyper%2Fhyperlink%2Fpull%2F190%2Ffiles
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-hyper%2Fhyperlink%2Fpull%2F190%2Ffiles
Sign uphttps://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-hyper%2Fhyperlink
Reloadhttps://github.com/python-hyper/hyperlink/pull/190/files
Reloadhttps://github.com/python-hyper/hyperlink/pull/190/files
Reloadhttps://github.com/python-hyper/hyperlink/pull/190/files
python-hyperhttps://github.com/python-hyper
hyperlinkhttps://github.com/python-hyper/hyperlink
Codehttps://github.com/python-hyper/hyperlink
Issues37 (37)https://github.com/python-hyper/hyperlink/issues
Pull requests21 (21)https://github.com/python-hyper/hyperlink/pulls
Actionshttps://github.com/python-hyper/hyperlink/actions
Projectshttps://github.com/python-hyper/hyperlink/projects
Security and qualityhttps://github.com/python-hyper/hyperlink/security
Insightshttps://github.com/python-hyper/hyperlink/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-hyper%2Fhyperlink%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-hyper%2Fhyperlink%2Fissues%2Fnew%2Fchoose
mvaught02https://github.com/mvaught02
python-hyper:masterhttps://github.com/python-hyper/hyperlink/tree/master
mvaught02:uplifthttps://github.com/mvaught02/hyperlink/tree/uplift
Conversation 5 https://github.com/python-hyper/hyperlink/pull/190
Commits 5 https://github.com/python-hyper/hyperlink/pull/190/commits
Checks 12 https://github.com/python-hyper/hyperlink/pull/190/checks
Files changed https://github.com/python-hyper/hyperlink/pull/190/files
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/190/files
Update to latest supported python versions https://github.com/python-hyper/hyperlink/pull/190/files#top
Show all changes 5 commits https://github.com/python-hyper/hyperlink/pull/190/files
5ba232f drop python2 and legacy support Feb 26, 2026 https://github.com/python-hyper/hyperlink/pull/190/commits/5ba232f665dea611d4c2a6ef74922e40535a45c2
10ea0a6 lint and formatting Feb 26, 2026 https://github.com/python-hyper/hyperlink/pull/190/commits/10ea0a6e508db243491086861181b9cf29e80d14
400b880 update TODO based on changes Feb 26, 2026 https://github.com/python-hyper/hyperlink/pull/190/commits/400b880efb79e33bb506bcc02d1e39fc163ee327
07c99d2 finish test cleanup Feb 26, 2026 https://github.com/python-hyper/hyperlink/pull/190/commits/07c99d22a35680aa4740f7b96945831859e59225
c99dcab Merge branch 'master' into uplift glyph May 15, 2026 https://github.com/python-hyper/hyperlink/pull/190/commits/c99dcabc30d7170c93bcce8b179fcb012b6b98f7
Clear filters https://github.com/python-hyper/hyperlink/pull/190/files
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/190/files
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/190/files
cicd.yml https://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
TODO.md https://github.com/python-hyper/hyperlink/pull/190/files#diff-5c6a1301c6b59b30a040d747d065e861d3dd98bde0e5a4356d92d594e9835986
design.rst https://github.com/python-hyper/hyperlink/pull/190/files#diff-dc106e8b137d846cb319a236ca94c457eef0ead2112d34f42f201c66736a407b
index.rst https://github.com/python-hyper/hyperlink/pull/190/files#diff-8d068e8797e88947c320f79e856c3e16a72b730124a8f9d7031e2c4680dfa534
pyproject.toml https://github.com/python-hyper/hyperlink/pull/190/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
setup.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
_socket.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-43b2d71f2fadfe02dab4125a18b93c1ac547ffb49fbb0f13c499659028d967fb
_url.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-9641b5a71157a5ca90dbea9fd6e464fd8e06a16a9b2a1c992c89b3917147317d
hypothesis.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-a42850deb42c0a08a0358d1548fe55a9118b351b4f9a623b2b72e61d1ee995e2
__init__.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-c0ec31e24e9da2378c981f86b4eb23db15cfd2cafd68bdd7ebf22c9fecc8b30d
common.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-901a71f48aaec80b48742afa55dcf60903a0f493a068de19ca5b872695a740a5
test_common.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-97dce8e71c10c5790496551082e62b225ba4f2f5849189e3dd7738063f49f789
test_decoded_url.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-f1541b80519347d5cd3bb44cd0467e475ec4f2ade0bf5dbf621dec520ebb9849
test_hypothesis.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-94261b893478d2c2f9e36a1c7ca29d68db62a3919cab4997807c14bd14128aa1
test_parse.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-9de627f3e1bdd9e6d80ea2c81bff8ab5ddcdfd3b6cf144a6e139170f80958595
test_scheme_registration.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-355262ca6dec1aaee093987d9c58f2ac92dce6108767a9a17864a60d903566c4
test_socket.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-b4c64849634e44456231d7679eb00a0226132f2d58a0de3ff4b573170abac9da
test_url.py https://github.com/python-hyper/hyperlink/pull/190/files#diff-2b98fb06dc491a6f8ec0a29fbc853e909881420e64d8516509d7df04ab675c26
tox.ini https://github.com/python-hyper/hyperlink/pull/190/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
.github/workflows/cicd.ymlhttps://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
View file https://github.com/python-hyper/hyperlink/blob/c99dcabc30d7170c93bcce8b179fcb012b6b98f7/.github/workflows/cicd.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/hyperlink/pull/190/{{ revealButtonHref }}
https://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
https://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
https://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
https://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
https://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
https://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
https://github.com/python-hyper/hyperlink/pull/190/files#diff-6727e33ccc9195d67f0786e1384f8f1cdaf4090c3e77547943105bd2b28c99d0
TODO.mdhttps://github.com/python-hyper/hyperlink/pull/190/files#diff-5c6a1301c6b59b30a040d747d065e861d3dd98bde0e5a4356d92d594e9835986
View file https://github.com/python-hyper/hyperlink/blob/c99dcabc30d7170c93bcce8b179fcb012b6b98f7/TODO.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/hyperlink/pull/190/{{ revealButtonHref }}
https://github.com/python-hyper/hyperlink/pull/190/files#diff-5c6a1301c6b59b30a040d747d065e861d3dd98bde0e5a4356d92d594e9835986
https://github.com/python-hyper/hyperlink/pull/190/files#diff-5c6a1301c6b59b30a040d747d065e861d3dd98bde0e5a4356d92d594e9835986
docs/design.rsthttps://github.com/python-hyper/hyperlink/pull/190/files#diff-dc106e8b137d846cb319a236ca94c457eef0ead2112d34f42f201c66736a407b
View file https://github.com/python-hyper/hyperlink/blob/c99dcabc30d7170c93bcce8b179fcb012b6b98f7/docs/design.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/hyperlink/pull/190/{{ revealButtonHref }}
https://github.com/python-hyper/hyperlink/pull/190/files#diff-dc106e8b137d846cb319a236ca94c457eef0ead2112d34f42f201c66736a407b
https://github.com/python-hyper/hyperlink/pull/190/files#diff-dc106e8b137d846cb319a236ca94c457eef0ead2112d34f42f201c66736a407b
docs/index.rsthttps://github.com/python-hyper/hyperlink/pull/190/files#diff-8d068e8797e88947c320f79e856c3e16a72b730124a8f9d7031e2c4680dfa534
View file https://github.com/python-hyper/hyperlink/blob/c99dcabc30d7170c93bcce8b179fcb012b6b98f7/docs/index.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/hyperlink/pull/190/{{ revealButtonHref }}
https://github.com/python-hyper/hyperlink/pull/190/files#diff-8d068e8797e88947c320f79e856c3e16a72b730124a8f9d7031e2c4680dfa534
https://github.com/python-hyper/hyperlink/pull/190/files#diff-8d068e8797e88947c320f79e856c3e16a72b730124a8f9d7031e2c4680dfa534
pyproject.tomlhttps://github.com/python-hyper/hyperlink/pull/190/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/python-hyper/hyperlink/blob/c99dcabc30d7170c93bcce8b179fcb012b6b98f7/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/hyperlink/pull/190/{{ revealButtonHref }}
https://github.com/python-hyper/hyperlink/pull/190/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
setup.pyhttps://github.com/python-hyper/hyperlink/pull/190/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
View file https://github.com/python-hyper/hyperlink/blob/c99dcabc30d7170c93bcce8b179fcb012b6b98f7/setup.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-hyper/hyperlink/pull/190/{{ revealButtonHref }}
https://github.com/python-hyper/hyperlink/pull/190/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
https://github.com/python-hyper/hyperlink/pull/190/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
https://github.com/python-hyper/hyperlink/pull/190/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
src/hyperlink/_socket.pyhttps://github.com/python-hyper/hyperlink/pull/190/files#diff-43b2d71f2fadfe02dab4125a18b93c1ac547ffb49fbb0f13c499659028d967fb
View file https://github.com/python-hyper/hyperlink/blob/978f2e645578aad856fe5e03e2e2c017c8c0f7ca/src/hyperlink/_socket.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/190/files
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/190/files
Please reload this pagehttps://github.com/python-hyper/hyperlink/pull/190/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.