René's URL Explorer Experiment


Title: [mypyc] Implement `str.lower()` and `str.upper()` primitive by Jahongir-Qurbonov · Pull Request #19375 · python/mypy · GitHub

Open Graph Title: [mypyc] Implement `str.lower()` and `str.upper()` primitive by Jahongir-Qurbonov · Pull Request #19375 · python/mypy

X Title: [mypyc] Implement `str.lower()` and `str.upper()` primitive by Jahongir-Qurbonov · Pull Request #19375 · python/mypy

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

Open Graph Description: Add primitive for str.lower and str.upper. Issue: mypyc/mypyc#1088

X Description: Add primitive for str.lower and str.upper. Issue: mypyc/mypyc#1088

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

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:0f91b62a-c8a5-318c-523d-6b4f60231b90
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9C5C:5875E:214EE1D:2D42370:6B0021C5
html-safe-nonced4bc19fb9257d2ea91c6e49443c2254db731b0cd7d55b2bfd9428954313da45e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzVDOjU4NzVFOjIxNEVFMUQ6MkQ0MjM3MDo2QjAwMjFDNSIsInZpc2l0b3JfaWQiOiI4NDA4ODE0MTY5MzYwNDQxNzk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac169018bc321bbb56fa258dc392a0dbe56077558930d12101b40c0ae90e979114
hovercard-subject-tagpull_request:2640695357
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/19375/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/72c36a5c959a582c942d613ea5e0518259f3541cb63c501922e6f56b1dfe85a7/python/mypy/pull/19375
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/72c36a5c959a582c942d613ea5e0518259f3541cb63c501922e6f56b1dfe85a7/python/mypy/pull/19375
og:image:altAdd primitive for str.lower and str.upper. Issue: mypyc/mypyc#1088
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJahongir-Qurbonov
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/19375#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19375
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%2Fmypy%2Fpull%2F19375
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%2Fmypy
Reloadhttps://github.com/python/mypy/pull/19375
Reloadhttps://github.com/python/mypy/pull/19375
Reloadhttps://github.com/python/mypy/pull/19375
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
python:masterhttps://github.com/python/mypy/tree/master
Jahongir-Qurbonov:str-lower-upperhttps://github.com/Jahongir-Qurbonov/mypy/tree/str-lower-upper
Conversationhttps://github.com/python/mypy/pull/19375
Commits19 (19)https://github.com/python/mypy/pull/19375/commits
Checkshttps://github.com/python/mypy/pull/19375/checks
Files changedhttps://github.com/python/mypy/pull/19375/files
[mypyc] Implement str.lower() and str.upper() primitivehttps://github.com/python/mypy/pull/19375#top
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
python:masterhttps://github.com/python/mypy/tree/master
Jahongir-Qurbonov:str-lower-upperhttps://github.com/Jahongir-Qurbonov/mypy/tree/str-lower-upper
https://github.com/Jahongir-Qurbonov
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
Jul 4, 2025https://github.com/python/mypy/pull/19375#issue-3201836828
mypyc/mypyc#1088https://github.com/mypyc/mypyc/issues/1088
Please reload this pagehttps://github.com/python/mypy/pull/19375
https://github.com/Jahongir-Qurbonov
Add str.lower() and str.upper() primitiveshttps://github.com/python/mypy/pull/19375/commits/d4ef31a323710fb03c5cb460cb072e831e546fac
d4ef31ahttps://github.com/python/mypy/pull/19375/commits/d4ef31a323710fb03c5cb460cb072e831e546fac
https://github.com/Jahongir-Qurbonov
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
Jul 4, 2025https://github.com/python/mypy/pull/19375#event-18467248913
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/19375/commits/124dceb91ebc407195821feda25d08b603fce555
124dcebhttps://github.com/python/mypy/pull/19375/commits/124dceb91ebc407195821feda25d08b603fce555
https://pre-commit.cihttps://pre-commit.ci
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
topic-mypyc https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Atopic-mypyc
Jul 4, 2025https://github.com/python/mypy/pull/19375#event-18471644061
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jul 4, 2025 https://github.com/python/mypy/pull/19375#pullrequestreview-2987756211
View reviewed changes https://github.com/python/mypy/pull/19375/files/124dceb91ebc407195821feda25d08b603fce555
JukkaLhttps://github.com/JukkaL
https://github.com/python/mypy/pull/19375#pullrequestreview-2987756211
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19375
mypyc/lib-rt/str_ops.chttps://github.com/python/mypy/pull/19375/files/124dceb91ebc407195821feda25d08b603fce555#diff-cdf6f9c0455884b5e6ba8586cbbe6ce122e4035c480a890b851d0ab0c87d32d6
Please reload this pagehttps://github.com/python/mypy/pull/19375
mypyc/lib-rt/str_ops.chttps://github.com/python/mypy/pull/19375/files/124dceb91ebc407195821feda25d08b603fce555#diff-cdf6f9c0455884b5e6ba8586cbbe6ce122e4035c480a890b851d0ab0c87d32d6
Please reload this pagehttps://github.com/python/mypy/pull/19375
mypyc/test-data/run-strings.testhttps://github.com/python/mypy/pull/19375/files/124dceb91ebc407195821feda25d08b603fce555#diff-716fba5f0524e7cc065184d5b8ca957d712a6fc57d3a62c6e67184ba012a792c
JukkaLhttps://github.com/JukkaL
Jul 4, 2025https://github.com/python/mypy/pull/19375#discussion_r2185702518
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19375
mypyc/test-data/run-strings.testhttps://github.com/python/mypy/pull/19375/files/124dceb91ebc407195821feda25d08b603fce555#diff-716fba5f0524e7cc065184d5b8ca957d712a6fc57d3a62c6e67184ba012a792c
JukkaLhttps://github.com/JukkaL
Jul 4, 2025https://github.com/python/mypy/pull/19375#discussion_r2185708896
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19375
https://github.com/Jahongir-Qurbonov
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
July 4, 2025 18:08https://github.com/python/mypy/pull/19375#event-18476430899
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
July 6, 2025 16:42https://github.com/python/mypy/pull/19375#commits-pushed-8065f9c
https://github.com/Jahongir-Qurbonov
Refactor tolower_ucs4 and toupper_ucs4 functions by removing fallback…https://github.com/python/mypy/pull/19375/commits/8065f9cfeaded459094a2a42b284d549ffdc9c2f
8065f9chttps://github.com/python/mypy/pull/19375/commits/8065f9cfeaded459094a2a42b284d549ffdc9c2f
https://github.com/Jahongir-Qurbonov
Optimize CPyStr_Lower and CPyStr_Upper for ASCII strings by removing …https://github.com/python/mypy/pull/19375/commits/1d40499c7a94e3556c791896644c56c374e010cd
1d40499https://github.com/python/mypy/pull/19375/commits/1d40499c7a94e3556c791896644c56c374e010cd
https://github.com/Jahongir-Qurbonov
Optimize CPyStr_Lower and CPyStr_Upper for ASCII strings by removing …https://github.com/python/mypy/pull/19375/commits/2750549c6aaf2d5b497b538e63f5059be4962bed
2750549https://github.com/python/mypy/pull/19375/commits/2750549c6aaf2d5b497b538e63f5059be4962bed
https://github.com/Jahongir-Qurbonov
Add test case for lower() method with special case for uppercase 'SS'https://github.com/python/mypy/pull/19375/commits/62520efcff93f589f9aa74f56e40beb3b666f4ba
62520efhttps://github.com/python/mypy/pull/19375/commits/62520efcff93f589f9aa74f56e40beb3b666f4ba
https://github.com/Jahongir-Qurbonov
Refactor CPyStr_Lower and CPyStr_Upper to use consistent variable nam…https://github.com/python/mypy/pull/19375/commits/cc2ed145cd76b12059f696b1d8a94ec49b244437
cc2ed14https://github.com/python/mypy/pull/19375/commits/cc2ed145cd76b12059f696b1d8a94ec49b244437
https://github.com/Jahongir-Qurbonov
Add test case for lower() method to handle Greek capital sigmahttps://github.com/python/mypy/pull/19375/commits/5cdca5a8b389d7b300818dfdb79c99b20f6bb80c
5cdca5ahttps://github.com/python/mypy/pull/19375/commits/5cdca5a8b389d7b300818dfdb79c99b20f6bb80c
https://github.com/Jahongir-Qurbonov
Add commented-out test cases for lower() and upper() methods to handl…https://github.com/python/mypy/pull/19375/commits/7049d8b93eafb4435514a9183b0b55faee05ce1a
7049d8bhttps://github.com/python/mypy/pull/19375/commits/7049d8b93eafb4435514a9183b0b55faee05ce1a
https://github.com/Jahongir-Qurbonov
Merge branch 'python:master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/bd4bde282609a53e5bff40a15a248eebf1fef844
bd4bde2https://github.com/python/mypy/pull/19375/commits/bd4bde282609a53e5bff40a15a248eebf1fef844
https://github.com/BobTheBuidler
BobTheBuidlerhttps://github.com/BobTheBuidler
Aug 16, 2025https://github.com/python/mypy/pull/19375#issuecomment-3193898959
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/19375
https://github.com/Jahongir-Qurbonov
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
Aug 17, 2025https://github.com/python/mypy/pull/19375#issuecomment-3194309081
@BobTheBuidlerhttps://github.com/BobTheBuidler
Please reload this pagehttps://github.com/python/mypy/pull/19375
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
August 17, 2025 16:06https://github.com/python/mypy/pull/19375#commits-pushed-b8fe8f5
https://github.com/Jahongir-Qurbonov
Merge branch 'master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/b8fe8f597555facf6f46f12f329374ba9c6c75d0
b8fe8f5https://github.com/python/mypy/pull/19375/commits/b8fe8f597555facf6f46f12f329374ba9c6c75d0
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/mypy/pull/19375/commits/ea78a12063e1bb3ec830f9368ba32a4a36a91895
ea78a12https://github.com/python/mypy/pull/19375/commits/ea78a12063e1bb3ec830f9368ba32a4a36a91895
https://pre-commit.cihttps://pre-commit.ci
https://github.com/Jahongir-Qurbonov
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
August 17, 2025 12:27https://github.com/python/mypy/pull/19375#event-19191095572
https://github.com/Jahongir-Qurbonov
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
JukkaLhttps://github.com/JukkaL
August 17, 2025 12:27https://github.com/python/mypy/pull/19375#event-19191096058
Jahongir-Qurbonovhttps://github.com/Jahongir-Qurbonov
August 21, 2025 15:52https://github.com/python/mypy/pull/19375#commits-pushed-86abdde
https://github.com/Jahongir-Qurbonov
Merge branch 'master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/86abddef3764a0e563e38d172c10377d95cf844d
86abddehttps://github.com/python/mypy/pull/19375/commits/86abddef3764a0e563e38d172c10377d95cf844d
https://github.com/Jahongir-Qurbonov
Merge branch 'master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/2ae03537eaa9eefae8ec4436e5d11e744c4fca5c
2ae0353https://github.com/python/mypy/pull/19375/commits/2ae03537eaa9eefae8ec4436e5d11e744c4fca5c
https://github.com/Jahongir-Qurbonov
Merge branch 'master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/bb9ba27146808cac02d9d9a04664dc5fea0301ea
bb9ba27https://github.com/python/mypy/pull/19375/commits/bb9ba27146808cac02d9d9a04664dc5fea0301ea
https://github.com/Jahongir-Qurbonov
Merge branch 'master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/e1f1147470c6152bdf8dad635121a999010fe35b
e1f1147https://github.com/python/mypy/pull/19375/commits/e1f1147470c6152bdf8dad635121a999010fe35b
https://github.com/Jahongir-Qurbonov
Merge branch 'master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/cffdc23edcaaee8559cee221845180902b93f599
cffdc23https://github.com/python/mypy/pull/19375/commits/cffdc23edcaaee8559cee221845180902b93f599
https://github.com/Jahongir-Qurbonov
Merge branch 'python:master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/5589a5cafbb1320a36dbfd52cb40e74ca94da241
5589a5chttps://github.com/python/mypy/pull/19375/commits/5589a5cafbb1320a36dbfd52cb40e74ca94da241
https://github.com/VaggelisD
VaggelisDhttps://github.com/VaggelisD
Mar 2, 2026 https://github.com/python/mypy/pull/19375#ref-pullrequest-4011889231
[mypyc] Add support for str.lower() and str.upper() #20948 https://github.com/python/mypy/pull/20948
JukkaLhttps://github.com/JukkaL
Mar 4, 2026 https://github.com/python/mypy/pull/19375#ref-commit-e6d41eb
https://github.com/VaggelisD
[mypyc] Add support forhttps://github.com/python/mypy/commit/e6d41eb6b6d4d810410a51e208c4e0d21dabcb93
str.lower()https://github.com/python/mypy/commit/e6d41eb6b6d4d810410a51e208c4e0d21dabcb93
andhttps://github.com/python/mypy/commit/e6d41eb6b6d4d810410a51e208c4e0d21dabcb93
str.upper()https://github.com/python/mypy/commit/e6d41eb6b6d4d810410a51e208c4e0d21dabcb93
(https://github.com/python/mypy/commit/e6d41eb6b6d4d810410a51e208c4e0d21dabcb93
#20948https://github.com/python/mypy/pull/20948
)https://github.com/python/mypy/commit/e6d41eb6b6d4d810410a51e208c4e0d21dabcb93
e6d41ebhttps://github.com/python/mypy/commit/e6d41eb6b6d4d810410a51e208c4e0d21dabcb93
mypyc/mypyc#1088https://github.com/mypyc/mypyc/issues/1088
#19375https://github.com/python/mypy/pull/19375
https://github.com/Jahongir-Qurbonov
Merge branch 'master' into str-lower-upperhttps://github.com/python/mypy/pull/19375/commits/0890ff765a704c268e615b432365b839c93af087
0890ff7https://github.com/python/mypy/pull/19375/commits/0890ff765a704c268e615b432365b839c93af087
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 14, 2026https://github.com/python/mypy/pull/19375#issuecomment-4058878174
#20948https://github.com/python/mypy/pull/20948
Please reload this pagehttps://github.com/python/mypy/pull/19375
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 14, 2026https://github.com/python/mypy/pull/19375#event-23563846514
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%2F19375
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/19375
topic-mypyc https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Atopic-mypyc
Please reload this pagehttps://github.com/python/mypy/pull/19375
https://github.com/Jahongir-Qurbonov
https://github.com/BobTheBuidler
https://github.com/hauntsaninja
https://github.com/JukkaL
https://github.com/sterliakov
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.