René's URL Explorer Experiment


Title: Allow memoryview[bytes] in write() and writelines() by Dreamsorcerer · Pull Request #13519 · python/typeshed · GitHub

Open Graph Title: Allow memoryview[bytes] in write() and writelines() by Dreamsorcerer · Pull Request #13519 · python/typeshed

X Title: Allow memoryview[bytes] in write() and writelines() by Dreamsorcerer · Pull Request #13519 · python/typeshed

Description: Collection of library stubs for Python, with static types - Allow memoryview[bytes] in write() and writelines() by Dreamsorcerer · Pull Request #13519 · python/typeshed

Open Graph Description: We have tests on aiohttp which end up passing memoryview[bytes] to these methods and they seem to work. With mypy's --strict-bytes it gives a type error due to the missing type in typeshed.

X Description: We have tests on aiohttp which end up passing memoryview[bytes] to these methods and they seem to work. With mypy's --strict-bytes it gives a type error due to the missing type in typeshed.

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

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:3a11f60c-4c9b-5b6d-ab58-b54742f1ea25
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACB4:63646:2B469:3A69B:6B006046
html-safe-nonce1c7043123bb9ee2ffcc2168373dbc2104c76596cf329a21324bcdfc4f4e89040
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0I0OjYzNjQ2OjJCNDY5OjNBNjlCOjZCMDA2MDQ2IiwidmlzaXRvcl9pZCI6IjI2NTI3NTEwODQzMjk2NTYzOTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2a1f3fc17df4cfc82b2317e9fb93bb7721210ee54a37c8b5a84bcaefcceacf45
hovercard-subject-tagpull_request:2348077675
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/13519/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cec60e1dc9ab3b5b7d0c66429869db75316cafdb84bb7739306f36f524a47504/python/typeshed/pull/13519
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cec60e1dc9ab3b5b7d0c66429869db75316cafdb84bb7739306f36f524a47504/python/typeshed/pull/13519
og:image:altWe have tests on aiohttp which end up passing memoryview[bytes] to these methods and they seem to work. With mypy's --strict-bytes it gives a type error due to the missing type in typeshed.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDreamsorcerer
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
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
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/13519#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13519
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%2F13519
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/13519
Reloadhttps://github.com/python/typeshed/pull/13519
Reloadhttps://github.com/python/typeshed/pull/13519
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests252 (252)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
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
Dreamsorcerer:patch-5https://github.com/Dreamsorcerer/typeshed/tree/patch-5
Conversationhttps://github.com/python/typeshed/pull/13519
Commits18 (18)https://github.com/python/typeshed/pull/13519/commits
Checkshttps://github.com/python/typeshed/pull/13519/checks
Files changedhttps://github.com/python/typeshed/pull/13519/files
Allow memoryview[bytes] in write() and writelines()https://github.com/python/typeshed/pull/13519#top
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
Dreamsorcerer:patch-5https://github.com/Dreamsorcerer/typeshed/tree/patch-5
https://github.com/Dreamsorcerer
Dreamsorcererhttps://github.com/Dreamsorcerer
Feb 20, 2025https://github.com/python/typeshed/pull/13519#issue-2867245220
Please reload this pagehttps://github.com/python/typeshed/pull/13519
Dreamsorcererhttps://github.com/Dreamsorcerer
February 20, 2025 20:51https://github.com/python/typeshed/pull/13519#commits-pushed-1e73c5b
https://github.com/Dreamsorcerer
Allow memoryview[bytes] in write() and writelines()https://github.com/python/typeshed/pull/13519/commits/1e73c5ba5b28e2cbdae551849a43438d1e63211c
1e73c5bhttps://github.com/python/typeshed/pull/13519/commits/1e73c5ba5b28e2cbdae551849a43438d1e63211c
https://github.com/Dreamsorcerer
Update transports.pyihttps://github.com/python/typeshed/pull/13519/commits/6774a6a4211b3b0e77b2960e90212c5c4a894a9e
6774a6ahttps://github.com/python/typeshed/pull/13519/commits/6774a6a4211b3b0e77b2960e90212c5c4a894a9e
https://github.com/Dreamsorcerer
Dreamsorcererhttps://github.com/Dreamsorcerer
Feb 20, 2025https://github.com/python/typeshed/pull/13519#issuecomment-2672682198
Please reload this pagehttps://github.com/python/typeshed/pull/13519
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13519
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 21, 2025https://github.com/python/typeshed/pull/13519#issuecomment-2673209229
Please reload this pagehttps://github.com/python/typeshed/pull/13519
Dreamsorcererhttps://github.com/Dreamsorcerer
February 21, 2025 13:45https://github.com/python/typeshed/pull/13519#commits-pushed-6d92650
https://github.com/Dreamsorcerer
ReadableBufferhttps://github.com/python/typeshed/pull/13519/commits/6d92650ec4cce78b3a4a4f9f93c4699734f24daa
6d92650https://github.com/python/typeshed/pull/13519/commits/6d92650ec4cce78b3a4a4f9f93c4699734f24daa
https://github.com/Dreamsorcerer
Update transports.pyihttps://github.com/python/typeshed/pull/13519/commits/521e9a3ecb6f14f88dca502536abebb2174d364e
521e9a3https://github.com/python/typeshed/pull/13519/commits/521e9a3ecb6f14f88dca502536abebb2174d364e
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13519
Dreamsorcererhttps://github.com/Dreamsorcerer
February 21, 2025 14:11https://github.com/python/typeshed/pull/13519#commits-pushed-2df164c
https://github.com/Dreamsorcerer
Update transports.pyihttps://github.com/python/typeshed/pull/13519/commits/2df164c0c49a8d3f48ec3fd5d6c5b5a32cf29928
2df164chttps://github.com/python/typeshed/pull/13519/commits/2df164c0c49a8d3f48ec3fd5d6c5b5a32cf29928
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/13519/commits/c1731024f9a203a4529fcadf98286f23aa3e596d
c173102https://github.com/python/typeshed/pull/13519/commits/c1731024f9a203a4529fcadf98286f23aa3e596d
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13519
Dreamsorcererhttps://github.com/Dreamsorcerer
February 21, 2025 14:26https://github.com/python/typeshed/pull/13519#commits-pushed-444cf59
https://github.com/Dreamsorcerer
Update sslproto.pyihttps://github.com/python/typeshed/pull/13519/commits/444cf59f6bb1ca5087e2c3d5eab09bcd6920af39
444cf59https://github.com/python/typeshed/pull/13519/commits/444cf59f6bb1ca5087e2c3d5eab09bcd6920af39
https://github.com/Dreamsorcerer
Update sslproto.pyihttps://github.com/python/typeshed/pull/13519/commits/66e7166c013d92585a7960b615fdad7e8f581f37
66e7166https://github.com/python/typeshed/pull/13519/commits/66e7166c013d92585a7960b615fdad7e8f581f37
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/13519/commits/63488099e26f8d42f3ed21f55c0d094d1e93e62e
6348809https://github.com/python/typeshed/pull/13519/commits/63488099e26f8d42f3ed21f55c0d094d1e93e62e
https://github.com/Dreamsorcerer
Update sslproto.pyihttps://github.com/python/typeshed/pull/13519/commits/77a14c244dfda3bb16a68bc26bb8a534975ee618
77a14c2https://github.com/python/typeshed/pull/13519/commits/77a14c244dfda3bb16a68bc26bb8a534975ee618
https://github.com/Dreamsorcerer
Update sslproto.pyihttps://github.com/python/typeshed/pull/13519/commits/18cd54dfe4e53ca4374f9fb084140a00f8359ea6
18cd54dhttps://github.com/python/typeshed/pull/13519/commits/18cd54dfe4e53ca4374f9fb084140a00f8359ea6
https://github.com/Dreamsorcerer
Update sslproto.pyihttps://github.com/python/typeshed/pull/13519/commits/edc4b61375e4f20f1313f3c42679688e4bc1a05f
edc4b61https://github.com/python/typeshed/pull/13519/commits/edc4b61375e4f20f1313f3c42679688e4bc1a05f
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13519
https://github.com/Dreamsorcerer
Dreamsorcererhttps://github.com/Dreamsorcerer
Feb 21, 2025https://github.com/python/typeshed/pull/13519#issuecomment-2674751178
Please reload this pagehttps://github.com/python/typeshed/pull/13519
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 21, 2025 https://github.com/python/typeshed/pull/13519#pullrequestreview-2633390473
View reviewed changes https://github.com/python/typeshed/pull/13519/files/edc4b61375e4f20f1313f3c42679688e4bc1a05f
stdlib/asyncio/sslproto.pyihttps://github.com/python/typeshed/pull/13519/files/edc4b61375e4f20f1313f3c42679688e4bc1a05f#diff-45a85246c4a47bd44890239a391753013f2ca325ec05cc61bb31a7a7b2da7973
Please reload this pagehttps://github.com/python/typeshed/pull/13519
Dreamsorcererhttps://github.com/Dreamsorcerer
February 21, 2025 16:19https://github.com/python/typeshed/pull/13519#commits-pushed-01d3728
https://github.com/Dreamsorcerer
Update sslproto.pyihttps://github.com/python/typeshed/pull/13519/commits/01d37280ed33fecb89a82888c025ded2780472be
01d3728https://github.com/python/typeshed/pull/13519/commits/01d37280ed33fecb89a82888c025ded2780472be
https://github.com/Dreamsorcerer
Update transports.pyihttps://github.com/python/typeshed/pull/13519/commits/5d99818012c0430a72275de900b9a6ba54c3ed34
5d99818https://github.com/python/typeshed/pull/13519/commits/5d99818012c0430a72275de900b9a6ba54c3ed34
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13519
https://github.com/Dreamsorcerer
Merge branch 'main' into patch-5https://github.com/python/typeshed/pull/13519/commits/1e9df754d7a89fb24ebbddc3f78bb1fb4fb0c8b2
1e9df75https://github.com/python/typeshed/pull/13519/commits/1e9df754d7a89fb24ebbddc3f78bb1fb4fb0c8b2
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13519
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 20, 2025 https://github.com/python/typeshed/pull/13519#pullrequestreview-2702557339
View reviewed changes https://github.com/python/typeshed/pull/13519/files/1e9df754d7a89fb24ebbddc3f78bb1fb4fb0c8b2
stdlib/asyncio/sslproto.pyihttps://github.com/python/typeshed/pull/13519/files/1e9df754d7a89fb24ebbddc3f78bb1fb4fb0c8b2#diff-45a85246c4a47bd44890239a391753013f2ca325ec05cc61bb31a7a7b2da7973
Please reload this pagehttps://github.com/python/typeshed/pull/13519
stdlib/asyncio/transports.pyihttps://github.com/python/typeshed/pull/13519/files/1e9df754d7a89fb24ebbddc3f78bb1fb4fb0c8b2#diff-df5225b47bacc991d9a09fec5d4dea8f5f9a067aea3ee1ee628459bdd70adf5c
Please reload this pagehttps://github.com/python/typeshed/pull/13519
https://github.com/Dreamsorcerer
https://github.com/srittau
Apply suggestions from code reviewhttps://github.com/python/typeshed/pull/13519/commits/5bf531ebe68fd1aca30fd2432d08c31cbb480f5d
5bf531ehttps://github.com/python/typeshed/pull/13519/commits/5bf531ebe68fd1aca30fd2432d08c31cbb480f5d
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 20, 2025 https://github.com/python/typeshed/pull/13519#pullrequestreview-2702767450
View reviewed changes https://github.com/python/typeshed/pull/13519/files/5bf531ebe68fd1aca30fd2432d08c31cbb480f5d
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/13519/commits/4aa443082edd5a55d88eaaf6611ec120e9e88463
4aa4430https://github.com/python/typeshed/pull/13519/commits/4aa443082edd5a55d88eaaf6611ec120e9e88463
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 20, 2025https://github.com/python/typeshed/pull/13519#issuecomment-2740498886
Please reload this pagehttps://github.com/python/typeshed/pull/13519
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F13519
https://github.com/Dreamsorcerer
Update pytype_exclude_list.txthttps://github.com/python/typeshed/pull/13519/commits/43d46bb4840db667815004c8d8eb0db0ef4eb274
43d46bbhttps://github.com/python/typeshed/pull/13519/commits/43d46bb4840db667815004c8d8eb0db0ef4eb274
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 20, 2025https://github.com/python/typeshed/pull/13519#issuecomment-2740911280
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/13519
https://github.com/srittau
srittauhttps://github.com/srittau
b4e49ddhttps://github.com/python/typeshed/commit/b4e49dd52102348e1bdbd6a83cc1817ec4f8a854
Mar 20, 2025https://github.com/python/typeshed/pull/13519#event-16914582296
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Mar 20, 2025 https://github.com/python/typeshed/pull/13519#ref-pullrequest-2935339577
Constrain memoryview type var to allowed types #13683 https://github.com/python/typeshed/pull/13683
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Apr 4, 2025 https://github.com/python/typeshed/pull/13519#ref-pullrequest-2972285534
Sync typeshed python/mypy#18880 https://github.com/python/mypy/pull/18880
mmingyuhttps://github.com/mmingyu
May 16, 2025 https://github.com/python/typeshed/pull/13519#ref-commit-408b817
https://github.com/Dreamsorcerer
[asyncio] Allow any memoryview in write() and writelines() (https://github.com/mmingyu/typeshed/commit/408b817a961b01e9e8c7b1adcd097082c4b7833b
python#13519https://github.com/python/typeshed/pull/13519
408b817https://github.com/mmingyu/typeshed/commit/408b817a961b01e9e8c7b1adcd097082c4b7833b
https://github.com/python/typeshed/pull/13519
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%2F13519
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/13519/files/edc4b61375e4f20f1313f3c42679688e4bc1a05f
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/13519/files/5bf531ebe68fd1aca30fd2432d08c31cbb480f5d
Please reload this pagehttps://github.com/python/typeshed/pull/13519
Please reload this pagehttps://github.com/python/typeshed/pull/13519
https://github.com/Dreamsorcerer
https://github.com/JelleZijlstra
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.