René's URL Explorer Experiment


Title: Enable strict_bytes by default by hauntsaninja · Pull Request #18371 · python/mypy · GitHub

Open Graph Title: Enable strict_bytes by default by hauntsaninja · Pull Request #18371 · python/mypy

X Title: Enable strict_bytes by default by hauntsaninja · Pull Request #18371 · python/mypy

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

Open Graph Description: For mypy v2

X Description: For mypy v2

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

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:4baa5ff2-e2a5-0b02-b082-3bf84820e583
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB368:B5253:194A832:217AC5C:6B002BC3
html-safe-nonce38881423dd9772b1c12a231d9649c72a351d2ad8fee51b1d7bc711694b9186b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzY4OkI1MjUzOjE5NEE4MzI6MjE3QUM1Qzo2QjAwMkJDMyIsInZpc2l0b3JfaWQiOiI2OTMwNzg0NDQ4NTM5NjM3MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac198e7e4d5cce99a331f189f4c760b0cf953133a8f1ca4886184a021eb7a8ff11
hovercard-subject-tagpull_request:2254875933
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/18371/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/31bcb59c225fa4a8d66516296b1ca6ac7b0ccc3b28aef1e711e5b6104b171f43/python/mypy/pull/18371
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/31bcb59c225fa4a8d66516296b1ca6ac7b0ccc3b28aef1e711e5b6104b171f43/python/mypy/pull/18371
og:image:altFor mypy v2
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehauntsaninja
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/18371#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18371
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%2F18371
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/18371
Reloadhttps://github.com/python/mypy/pull/18371
Reloadhttps://github.com/python/mypy/pull/18371
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 requests547 (547)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
JukkaLhttps://github.com/JukkaL
python:masterhttps://github.com/python/mypy/tree/master
hauntsaninja:default-strict-byteshttps://github.com/hauntsaninja/mypy/tree/default-strict-bytes
Conversationhttps://github.com/python/mypy/pull/18371
Commits8 (8)https://github.com/python/mypy/pull/18371/commits
Checkshttps://github.com/python/mypy/pull/18371/checks
Files changedhttps://github.com/python/mypy/pull/18371/files
Enable strict_bytes by defaulthttps://github.com/python/mypy/pull/18371#top
JukkaLhttps://github.com/JukkaL
python:masterhttps://github.com/python/mypy/tree/master
hauntsaninja:default-strict-byteshttps://github.com/hauntsaninja/mypy/tree/default-strict-bytes
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 30, 2024https://github.com/python/mypy/pull/18371#issue-2762584685
Please reload this pagehttps://github.com/python/mypy/pull/18371
Please reload this pagehttps://github.com/python/mypy/pull/18371
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 30, 2024 https://github.com/python/mypy/pull/18371#ref-issue-2590596797
mypy 2.0 big change list #17967 https://github.com/python/mypy/issues/17967
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
force-pushedhttps://github.com/python/mypy/compare/0e4649c9e22e35c27e26992f7f76f856768f9991..0bbeed572609d174a51552243fe5a7848d4f61d3
0e4649chttps://github.com/python/mypy/commit/0e4649c9e22e35c27e26992f7f76f856768f9991
0bbeed5https://github.com/python/mypy/commit/0bbeed572609d174a51552243fe5a7848d4f61d3
Compare https://github.com/python/mypy/compare/0e4649c9e22e35c27e26992f7f76f856768f9991..0bbeed572609d174a51552243fe5a7848d4f61d3
December 30, 2024 03:18https://github.com/python/mypy/pull/18371#event-15781424508
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
deferred https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Adeferred
Dec 30, 2024https://github.com/python/mypy/pull/18371#event-15781463192
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18371
https://github.com/hauntsaninja
Enable strict_bytes by defaulthttps://github.com/python/mypy/pull/18371/commits/c39f0265dbad7658d9d1c9407db7cbe93b19d68b
c39f026https://github.com/python/mypy/pull/18371/commits/c39f0265dbad7658d9d1c9407db7cbe93b19d68b
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
force-pushedhttps://github.com/python/mypy/compare/0bbeed572609d174a51552243fe5a7848d4f61d3..c39f0265dbad7658d9d1c9407db7cbe93b19d68b
0bbeed5https://github.com/python/mypy/commit/0bbeed572609d174a51552243fe5a7848d4f61d3
c39f026https://github.com/python/mypy/commit/c39f0265dbad7658d9d1c9407db7cbe93b19d68b
Compare https://github.com/python/mypy/compare/0bbeed572609d174a51552243fe5a7848d4f61d3..c39f0265dbad7658d9d1c9407db7cbe93b19d68b
December 30, 2024 04:59https://github.com/python/mypy/pull/18371#event-15781690634
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18371
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18371
https://github.com/hauntsaninja
patchhttps://github.com/python/mypy/pull/18371/commits/b6528b56e65a96d95c5149828c6690d0e514455c
b6528b5https://github.com/python/mypy/pull/18371/commits/b6528b56e65a96d95c5149828c6690d0e514455c
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
force-pushedhttps://github.com/python/mypy/compare/f5c10aa75744fa5d46fa9ff291a353ec8e2edf6e..b6528b56e65a96d95c5149828c6690d0e514455c
f5c10aahttps://github.com/python/mypy/commit/f5c10aa75744fa5d46fa9ff291a353ec8e2edf6e
b6528b5https://github.com/python/mypy/commit/b6528b56e65a96d95c5149828c6690d0e514455c
Compare https://github.com/python/mypy/compare/f5c10aa75744fa5d46fa9ff291a353ec8e2edf6e..b6528b56e65a96d95c5149828c6690d0e514455c
December 30, 2024 06:11https://github.com/python/mypy/pull/18371#event-15781933250
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18371
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
Jan 11, 2025 https://github.com/python/mypy/pull/18371#ref-pullrequest-1213354091
Experiment: remove bytearray -> bytes promotion #12661 https://github.com/python/mypy/pull/12661
https://github.com/hauntsaninja
Merge branch 'master' into default-strict-byteshttps://github.com/python/mypy/pull/18371/commits/2524f198cb04cbef36ea280b4659173eb8a8be82
2524f19https://github.com/python/mypy/pull/18371/commits/2524f198cb04cbef36ea280b4659173eb8a8be82
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18371
JelleZijlstrahttps://github.com/JelleZijlstra
February 1, 2026 20:28https://github.com/python/mypy/pull/18371#commits-pushed-6cbc7ac
https://github.com/JelleZijlstra
Merge branch 'master' into default-strict-byteshttps://github.com/python/mypy/pull/18371/commits/6cbc7acd2b2a654c908c3b88c89aea05db18af3c
6cbc7achttps://github.com/python/mypy/pull/18371/commits/6cbc7acd2b2a654c908c3b88c89aea05db18af3c
https://github.com/hauntsaninja
fix mergehttps://github.com/python/mypy/pull/18371/commits/04187b7f2bde0504e5b715be36a2e2db4cc23117
04187b7https://github.com/python/mypy/pull/18371/commits/04187b7f2bde0504e5b715be36a2e2db4cc23117
https://github.com/hauntsaninja
add backhttps://github.com/python/mypy/pull/18371/commits/cd0d27cbf008b996fb3d4b06145d13c5232c4e33
cd0d27chttps://github.com/python/mypy/pull/18371/commits/cd0d27cbf008b996fb3d4b06145d13c5232c4e33
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18371
https://github.com/hauntsaninja
fix up morehttps://github.com/python/mypy/pull/18371/commits/2587d649c3f2cffe185333a7168a2a225c9be880
2587d64https://github.com/python/mypy/pull/18371/commits/2587d649c3f2cffe185333a7168a2a225c9be880
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F18371
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Feb 2, 2026 https://github.com/python/mypy/pull/18371#pullrequestreview-3737460785
View reviewed changes https://github.com/python/mypy/pull/18371/files/2587d649c3f2cffe185333a7168a2a225c9be880
mypy/options.pyhttps://github.com/python/mypy/pull/18371/files/2587d649c3f2cffe185333a7168a2a225c9be880#diff-eb09ce67c2059bc9c117d4175e0bd34b1d75bbe8a91c3b9f69a8d14a9c8bc09f
hauntsaninjahttps://github.com/hauntsaninja
Feb 2, 2026https://github.com/python/mypy/pull/18371#discussion_r2752694017
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#19002https://github.com/python/mypy/pull/19002
Please reload this pagehttps://github.com/python/mypy/pull/18371
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
April 3, 2026 23:37https://github.com/python/mypy/pull/18371#event-24188027695
https://github.com/hauntsaninja
Merge branch 'master' into default-strict-byteshttps://github.com/python/mypy/pull/18371/commits/6f2b0cfbbdc9b53eab3f376d2c0ba711d2a6f108
6f2b0cfhttps://github.com/python/mypy/pull/18371/commits/6f2b0cfbbdc9b53eab3f376d2c0ba711d2a6f108
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 4, 2026https://github.com/python/mypy/pull/18371#issuecomment-4185722803
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/18371
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Apr 20, 2026 https://github.com/python/mypy/pull/18371#pullrequestreview-4139909843
View reviewed changes https://github.com/python/mypy/pull/18371/files/6f2b0cfbbdc9b53eab3f376d2c0ba711d2a6f108
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
30e8f1dhttps://github.com/python/mypy/commit/30e8f1d07bc437aeccc032b1c5d900b19c48a5dc
Apr 20, 2026https://github.com/python/mypy/pull/18371#event-24676506564
Please reload this pagehttps://github.com/python/mypy/pull/18371
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
deferred https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Adeferred
Apr 20, 2026https://github.com/python/mypy/pull/18371#event-24676662127
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Apr 20, 2026 https://github.com/python/mypy/pull/18371#ref-pullrequest-4295803695
Document that --strict-bytes is enabled by default #21272 https://github.com/python/mypy/pull/21272
JukkaLhttps://github.com/JukkaL
Apr 20, 2026 https://github.com/python/mypy/pull/18371#ref-commit-bf62d3e
https://github.com/JukkaL
Document that --strict-bytes is enabled by default (https://github.com/python/mypy/commit/bf62d3ea28b41e032c5b4bafe3b9a706d4618044
#21272https://github.com/python/mypy/pull/21272
)https://github.com/python/mypy/commit/bf62d3ea28b41e032c5b4bafe3b9a706d4618044
bf62d3ehttps://github.com/python/mypy/commit/bf62d3ea28b41e032c5b4bafe3b9a706d4618044
#18371https://github.com/python/mypy/pull/18371
https://github.com/SatsAndSports
SatsAndSportshttps://github.com/SatsAndSports
Aug 18, 2026 https://github.com/python/mypy/pull/18371#ref-pullrequest-5184154542
BIP-327: fix reference.py type errors failing tests.sh bitcoin/bips#2261 https://github.com/bitcoin/bips/pull/2261
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%2F18371
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/18371/files/6f2b0cfbbdc9b53eab3f376d2c0ba711d2a6f108
Please reload this pagehttps://github.com/python/mypy/pull/18371
Please reload this pagehttps://github.com/python/mypy/pull/18371
https://github.com/hauntsaninja
https://github.com/JukkaL
https://github.com/JelleZijlstra
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.