René's URL Explorer Experiment


Title: typeform: remove a regex call, rearrange checks by JelleZijlstra · Pull Request #21459 · python/mypy · GitHub

Open Graph Title: typeform: remove a regex call, rearrange checks by JelleZijlstra · Pull Request #21459 · python/mypy

X Title: typeform: remove a regex call, rearrange checks by JelleZijlstra · Pull Request #21459 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Related to #21262 (comment) : I haven't benchmarked but this is likely to be faster.

X Description: Related to #21262 (comment) : I haven't benchmarked but this is likely to be faster.

Opengraph URL: https://github.com/python/mypy/pull/21459

X: @github

direct link

Domain: github.com

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:46fd684d-1f8f-1b9f-6847-00d7395547bb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id93B4:2FB15B:95DEAF:CAD86B:6A4C46F0
html-safe-nonce1de68d00c527f920f7e1451691431768b306800b7eabde3683f804142914b4bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0I0OjJGQjE1Qjo5NURFQUY6Q0FEODZCOjZBNEM0NkYwIiwidmlzaXRvcl9pZCI6IjY1MDU1NjY4MjE2Mzc5NjU1NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac743dae5593839c3caa058581ad71fff2bec83211c4b030a56fda129bfb316def
hovercard-subject-tagpull_request:3658051396
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/mypy/21459/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2a5b47dca62dd6c21e10f2a75387f04f0a89d51b98f79a8e2995b5a0bf2f4074/python/mypy/pull/21459
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2a5b47dca62dd6c21e10f2a75387f04f0a89d51b98f79a8e2995b5a0bf2f4074/python/mypy/pull/21459
og:image:altRelated to #21262 (comment) : I haven't benchmarked but this is likely to be faster.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJelleZijlstra
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release3996b3b83990e134be6c099ab9a7f48f140ae80f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/21459#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21459
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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%2Fmypy%2Fpull%2F21459
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/21459
Reloadhttps://github.com/python/mypy/pull/21459
Reloadhttps://github.com/python/mypy/pull/21459
Please reload this pagehttps://github.com/python/mypy/pull/21459
python https://github.com/python
mypyhttps://github.com/python/mypy
Please reload this pagehttps://github.com/python/mypy/pull/21459
Notifications https://github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.2k https://github.com/login?return_to=%2Fpython%2Fmypy
Star 20.5k https://github.com/login?return_to=%2Fpython%2Fmypy
Code https://github.com/python/mypy
Issues 2.7k https://github.com/python/mypy/issues
Pull requests 460 https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality 0 https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
Code https://github.com/python/mypy
Issues https://github.com/python/mypy/issues
Pull requests https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/mypy/tree/master
JelleZijlstra:isidentifierhttps://github.com/JelleZijlstra/mypy/tree/isidentifier
Conversationhttps://github.com/python/mypy/pull/21459
Commits5 (5)https://github.com/python/mypy/pull/21459/commits
Checkshttps://github.com/python/mypy/pull/21459/checks
Files changedhttps://github.com/python/mypy/pull/21459/files
typeform: remove a regex call, rearrange checkshttps://github.com/python/mypy/pull/21459#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/mypy/tree/master
JelleZijlstra:isidentifierhttps://github.com/JelleZijlstra/mypy/tree/isidentifier
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026https://github.com/python/mypy/pull/21459#issue-4416592378
#21262 (comment)https://github.com/python/mypy/pull/21262#issuecomment-4364872582
Please reload this pagehttps://github.com/python/mypy/pull/21459
https://github.com/JelleZijlstra
typeform: remove a regex callhttps://github.com/python/mypy/pull/21459/commits/7468f008af9659c868474b14cdd33d2c3f3cac18
7468f00https://github.com/python/mypy/pull/21459/commits/7468f008af9659c868474b14cdd33d2c3f3cac18
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026 https://github.com/python/mypy/pull/21459#ref-pullrequest-4282953101
TypeForm: Enable by default #21262 https://github.com/python/mypy/pull/21262
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21459
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026 12:46https://github.com/python/mypy/pull/21459#commits-pushed-17fa7b9
https://github.com/JelleZijlstra
rearrange a bithttps://github.com/python/mypy/pull/21459/commits/17fa7b947565b63eab3dd551c336ee28de79edfc
17fa7b9https://github.com/python/mypy/pull/21459/commits/17fa7b947565b63eab3dd551c336ee28de79edfc
https://github.com/JelleZijlstra
catch punctuationhttps://github.com/python/mypy/pull/21459/commits/e75a7a6d759c87940cb8d8fe8930074673cd49c1
e75a7a6https://github.com/python/mypy/pull/21459/commits/e75a7a6d759c87940cb8d8fe8930074673cd49c1
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026https://github.com/python/mypy/pull/21459#event-25358323395
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/21459/commits/7e3f0580204d62fc5077238f289ca8815c3aaa2f
7e3f058https://github.com/python/mypy/pull/21459/commits/7e3f0580204d62fc5077238f289ca8815c3aaa2f
https://pre-commit.cihttps://pre-commit.ci
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
May 10, 2026 https://github.com/python/mypy/pull/21459#pullrequestreview-4259866215
View reviewed changes https://github.com/python/mypy/pull/21459/files/7e3f0580204d62fc5077238f289ca8815c3aaa2f
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/21459#pullrequestreview-4259866215
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
sterliakov/mypy-issues#297https://github.com/sterliakov/mypy-issues/issues/297
Please reload this pagehttps://github.com/python/mypy/pull/21459
mypy/semanal.pyhttps://github.com/python/mypy/pull/21459/files/7e3f0580204d62fc5077238f289ca8815c3aaa2f#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164
hauntsaninjahttps://github.com/hauntsaninja
May 10, 2026https://github.com/python/mypy/pull/21459#discussion_r3215463568
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21459
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026https://github.com/python/mypy/pull/21459#discussion_r3215479487
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21459
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026https://github.com/python/mypy/pull/21459#discussion_r3215491193
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21459
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
May 10, 2026 https://github.com/python/mypy/pull/21459#pullrequestreview-4259866798
View reviewed changes https://github.com/python/mypy/pull/21459/files/7e3f0580204d62fc5077238f289ca8815c3aaa2f
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/21459#pullrequestreview-4259866798
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21459
mypy/semanal.pyhttps://github.com/python/mypy/pull/21459/files/7e3f0580204d62fc5077238f289ca8815c3aaa2f#diff-f782aad4853edceb67a88efe43d2869579d075a77b8e8dd2add91e818a9fa164
ilevkivskyihttps://github.com/ilevkivskyi
May 10, 2026https://github.com/python/mypy/pull/21459#discussion_r3215464383
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21459
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026https://github.com/python/mypy/pull/21459#discussion_r3215480450
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21459
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026https://github.com/python/mypy/pull/21459#discussion_r3215485447
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21459
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21459
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 10, 2026 https://github.com/python/mypy/pull/21459#ref-issue-4416727030
Bench #21459 sterliakov/mypy-issues#297 https://github.com/sterliakov/mypy-issues/issues/297
https://github.com/JelleZijlstra
len < 2https://github.com/python/mypy/pull/21459/commits/3419c41102bbcda324e427e946be99820ae51f19
3419c41https://github.com/python/mypy/pull/21459/commits/3419c41102bbcda324e427e946be99820ae51f19
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
May 10, 2026 https://github.com/python/mypy/pull/21459#pullrequestreview-4259885257
View reviewed changes https://github.com/python/mypy/pull/21459/files/3419c41102bbcda324e427e946be99820ae51f19
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 10, 2026https://github.com/python/mypy/pull/21459#issuecomment-4416337696
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/21459
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
c0cced3https://github.com/python/mypy/commit/c0cced35c1451e04a3aa7d643605262987505863
May 10, 2026https://github.com/python/mypy/pull/21459#event-25359289489
Please reload this pagehttps://github.com/python/mypy/pull/21459
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 10, 2026 21:49https://github.com/python/mypy/pull/21459#event-25359554570
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fmypy%2Fpull%2F21459
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/21459/files/7e3f0580204d62fc5077238f289ca8815c3aaa2f
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/21459/files/3419c41102bbcda324e427e946be99820ae51f19
Please reload this pagehttps://github.com/python/mypy/pull/21459
https://github.com/JelleZijlstra
https://github.com/ilevkivskyi
https://github.com/hauntsaninja
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.