| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:41d2575f-ee9e-292a-db22-a51f7d914f5a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE38:1F3799:294BA3C:3628A94:6B000B1E |
| html-safe-nonce | 6d2b337b06a5f49e321c005d465b69947b867db7d098dbac6b3fa9c44d3f6b5f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTM4OjFGMzc5OToyOTRCQTNDOjM2MjhBOTQ6NkIwMDBCMUUiLCJ2aXNpdG9yX2lkIjoiODA0NDI2NTE1MzUyNjUwMDEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8d1fbb9bbcfbb6e864473b605fa96b8ff6530e152f6d5478ce0095ea43e26e6b |
| hovercard-subject-tag | pull_request:425414001 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/4146/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4d2cf3891d9b325c78ea81780c8d7fcb18bdc2912d212d7a9666e7b020d3b653/python/typeshed/pull/4146 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4d2cf3891d9b325c78ea81780c8d7fcb18bdc2912d212d7a9666e7b020d3b653/python/typeshed/pull/4146 |
| og:image:alt | Fixes #3951.
We use the values of the "mode" and "buffering" arguments to figure out
the concrete type open() will return at runtime. (Compare the CPython
code in https://github... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JelleZijlstra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typeshed/pull/4146#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F4146 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F4146 |
| 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%2Ftypeshed |
| Reload | https://github.com/python/typeshed/pull/4146 |
| Reload | https://github.com/python/typeshed/pull/4146 |
| Reload | https://github.com/python/typeshed/pull/4146 |
| python | https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Code | https://github.com/python/typeshed |
| Issues196 (196) | https://github.com/python/typeshed/issues |
| Pull requests251 (251) | https://github.com/python/typeshed/pulls |
| Actions | https://github.com/python/typeshed/actions |
| Security and quality | https://github.com/python/typeshed/security |
| Insights | https://github.com/python/typeshed/insights |
| https://github.com/python/typeshed |
| srittau | https://github.com/srittau |
| python:master | https://github.com/python/typeshed/tree/master |
| JelleZijlstra:openret | https://github.com/JelleZijlstra/typeshed/tree/openret |
| Conversation | https://github.com/python/typeshed/pull/4146 |
| Commits5 (5) | https://github.com/python/typeshed/pull/4146/commits |
| Checks | https://github.com/python/typeshed/pull/4146/checks |
| Files changed | https://github.com/python/typeshed/pull/4146/files |
| open: introduce concrete return types | https://github.com/python/typeshed/pull/4146#top |
| srittau | https://github.com/srittau |
| python:master | https://github.com/python/typeshed/tree/master |
| JelleZijlstra:openret | https://github.com/JelleZijlstra/typeshed/tree/openret |
|
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 30, 2020 | https://github.com/python/typeshed/pull/4146#issue-627651465 |
| #3951 | https://github.com/python/typeshed/issues/3951 |
| https://github.com/python/cpython/blob/master/Modules/_io/_iomodule.c#L231 | https://github.com/python/cpython/blob/master/Modules/_io/_iomodule.c#L231 |
| #4145 | https://github.com/python/typeshed/pull/4145 |
| Please reload this page | https://github.com/python/typeshed/pull/4146 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 29, 2020 19:54 | https://github.com/python/typeshed/pull/4146#commits-pushed-2ff071d |
|
| https://github.com/JelleZijlstra |
| make io classes inherit from typing IO classes | https://github.com/python/typeshed/pull/4146/commits/2ff071dc8092dc8349ac24a2ab6723cc44102e40 |
| 2ff071d | https://github.com/python/typeshed/pull/4146/commits/2ff071dc8092dc8349ac24a2ab6723cc44102e40 |
| python#3951 | https://github.com/python/typeshed/issues/3951 |
|
| https://github.com/JelleZijlstra |
| open: introduce concrete return types | https://github.com/python/typeshed/pull/4146/commits/4bec700a8553f14e4774adcdabe34a2c416231b9 |
| 4bec700 | https://github.com/python/typeshed/pull/4146/commits/4bec700a8553f14e4774adcdabe34a2c416231b9 |
| python#3951 | https://github.com/python/typeshed/issues/3951 |
| https://github.com/python/cpython/blob/master/Modules/_io/_iomodule.c#L231 | https://github.com/python/cpython/blob/master/Modules/_io/_iomodule.c#L231 |
| python#4145 | https://github.com/python/typeshed/pull/4145 |
|
| https://github.com/JelleZijlstra |
| fix Python 2 | https://github.com/python/typeshed/pull/4146/commits/6a769b48b9902a05f20e4b6cc8e93d2a491b4e44 |
| 6a769b4 | https://github.com/python/typeshed/pull/4146/commits/6a769b48b9902a05f20e4b6cc8e93d2a491b4e44 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
May 30, 2020
| https://github.com/python/typeshed/pull/4146#pullrequestreview-421400661 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/4146/files/6a769b48b9902a05f20e4b6cc8e93d2a491b4e44 |
| stdlib/2/__builtin__.pyi | https://github.com/python/typeshed/pull/4146/files/6a769b48b9902a05f20e4b6cc8e93d2a491b4e44#diff-1d779f57c4a031bf6683d708babcda1f1e1bc38fc30e63e87c3451827a870a30 |
| srittau | https://github.com/srittau |
| May 30, 2020 | https://github.com/python/typeshed/pull/4146#discussion_r432836366 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/4146 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 30, 2020 | https://github.com/python/typeshed/pull/4146#discussion_r432843242 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/4146 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
topic: io
| https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22topic%3A%20io%22 |
| May 30, 2020 | https://github.com/python/typeshed/pull/4146#event-3389675502 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| May 30, 2020 06:55 | https://github.com/python/typeshed/pull/4146#commits-pushed-208546c |
|
| https://github.com/JelleZijlstra |
| merge some overloads | https://github.com/python/typeshed/pull/4146/commits/208546c0a4b5b5f018f69f4978279a5cd2d9c7ef |
| 208546c | https://github.com/python/typeshed/pull/4146/commits/208546c0a4b5b5f018f69f4978279a5cd2d9c7ef |
|
| https://github.com/JelleZijlstra |
| Merge remote-tracking branch 'upstream/master' into openret | https://github.com/python/typeshed/pull/4146/commits/cc475e6d76cbef5a124052902160fd0b7df9e713 |
| cc475e6 | https://github.com/python/typeshed/pull/4146/commits/cc475e6d76cbef5a124052902160fd0b7df9e713 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
May 31, 2020
| https://github.com/python/typeshed/pull/4146#pullrequestreview-421534622 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/4146/files/cc475e6d76cbef5a124052902160fd0b7df9e713 |
| srittau | https://github.com/srittau |
| https://github.com/python/typeshed/pull/4146#pullrequestreview-421534622 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/4146 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| adeda24 | https://github.com/python/typeshed/commit/adeda24fce2c407f6e523d14e763c98728f9f957 |
| May 31, 2020 | https://github.com/python/typeshed/pull/4146#event-3391046292 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| June 1, 2020 00:14 | https://github.com/python/typeshed/pull/4146#event-3391115521 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
|
Jun 11, 2020
| https://github.com/python/typeshed/pull/4146#ref-issue-225379666 |
|
open() returns IO[str] instead of io.TextIOWrapper
#1229
| https://github.com/python/typeshed/issues/1229 |
| vishalkuo | https://github.com/vishalkuo |
|
Jun 26, 2020
| https://github.com/python/typeshed/pull/4146#ref-commit-dd3bd3a |
|
| https://github.com/JelleZijlstra |
| open: introduce concrete return types ( | https://github.com/vishalkuo/typeshed/commit/dd3bd3a49d086869a224b71e21693c1d004a6261 |
| python#4146 | https://github.com/python/typeshed/pull/4146 |
| ) | https://github.com/vishalkuo/typeshed/commit/dd3bd3a49d086869a224b71e21693c1d004a6261 |
| dd3bd3a | https://github.com/vishalkuo/typeshed/commit/dd3bd3a49d086869a224b71e21693c1d004a6261 |
| python#3951 | https://github.com/python/typeshed/issues/3951 |
| python#3951 | https://github.com/python/typeshed/issues/3951 |
| https://github.com/python/cpython/blob/master/Modules/_io/_iomodule.c#L231 | https://github.com/python/cpython/blob/master/Modules/_io/_iomodule.c#L231 |
| https://github.com/stephenmcgruer |
| stephenmcgruer | https://github.com/stephenmcgruer |
|
Aug 17, 2020
| https://github.com/python/typeshed/pull/4146#ref-pullrequest-654780694 |
|
[Taskcluster] Make lint create a GitHub Checks output file
web-platform-tests/wpt#24556
| https://github.com/web-platform-tests/wpt/pull/24556 |
| https://github.com/micimize |
| micimize | https://github.com/micimize |
|
Oct 11, 2020
| https://github.com/python/typeshed/pull/4146#ref-issue-376793487 |
|
'gzip.GzipFile' appears to be missing 'IO[...]'
#2580
| https://github.com/python/typeshed/issues/2580 |
| Hexcles | https://github.com/Hexcles |
|
Oct 13, 2020
| https://github.com/python/typeshed/pull/4146#ref-commit-e86d3a3 |
|
| https://github.com/Hexcles |
| Remove a hack for mypy<0.790 | https://github.com/web-platform-tests/wpt/commit/e86d3a3e9cfb97d7908dd6eda1146d34ee0f1696 |
| e86d3a3 | https://github.com/web-platform-tests/wpt/commit/e86d3a3e9cfb97d7908dd6eda1146d34ee0f1696 |
| #26066 | https://github.com/web-platform-tests/wpt/pull/26066 |
| python/typeshed#4146 | https://github.com/python/typeshed/pull/4146 |
| Hexcles | https://github.com/Hexcles |
|
Oct 13, 2020
| https://github.com/python/typeshed/pull/4146#ref-commit-81988a4 |
|
| https://github.com/Hexcles |
| Remove a hack for mypy<0.790 | https://github.com/web-platform-tests/wpt/commit/81988a4637c97fa64d3347220e89dfa255e78dec |
| 81988a4 | https://github.com/web-platform-tests/wpt/commit/81988a4637c97fa64d3347220e89dfa255e78dec |
| #26066 | https://github.com/web-platform-tests/wpt/pull/26066 |
| python/typeshed#4146 | https://github.com/python/typeshed/pull/4146 |
| Hexcles | https://github.com/Hexcles |
|
Oct 14, 2020
| https://github.com/python/typeshed/pull/4146#ref-commit-e8efb0e |
|
| https://github.com/Hexcles |
| Remove a hack for mypy<0.790 | https://github.com/web-platform-tests/wpt/commit/e8efb0eb0019077dacbb00dc4de1da4bd0ddc1ee |
| e8efb0e | https://github.com/web-platform-tests/wpt/commit/e8efb0eb0019077dacbb00dc4de1da4bd0ddc1ee |
| #26066 | https://github.com/web-platform-tests/wpt/pull/26066 |
| python/typeshed#4146 | https://github.com/python/typeshed/pull/4146 |
| Hexcles | https://github.com/Hexcles |
|
Oct 14, 2020
| https://github.com/python/typeshed/pull/4146#ref-commit-ec69ed2 |
|
| https://github.com/Hexcles |
| Remove a hack for mypy<0.790 | https://github.com/web-platform-tests/wpt/commit/ec69ed2d738d1ef2285ee1a42d96509fa042acbe |
| ec69ed2 | https://github.com/web-platform-tests/wpt/commit/ec69ed2d738d1ef2285ee1a42d96509fa042acbe |
| #26066 | https://github.com/web-platform-tests/wpt/pull/26066 |
| python/typeshed#4146 | https://github.com/python/typeshed/pull/4146 |
| stephenmcgruer | https://github.com/stephenmcgruer |
|
Oct 14, 2020
| https://github.com/python/typeshed/pull/4146#ref-commit-fdc3a46 |
|
| https://github.com/Hexcles |
| Remove a hack for mypy<0.790 ( | https://github.com/web-platform-tests/wpt/commit/fdc3a462396df8af5d2d8f2e5277e98817ffbb9d |
| #26102 | https://github.com/web-platform-tests/wpt/pull/26102 |
| ) | https://github.com/web-platform-tests/wpt/commit/fdc3a462396df8af5d2d8f2e5277e98817ffbb9d |
| fdc3a46 | https://github.com/web-platform-tests/wpt/commit/fdc3a462396df8af5d2d8f2e5277e98817ffbb9d |
| #26066 | https://github.com/web-platform-tests/wpt/pull/26066 |
| python/typeshed#4146 | https://github.com/python/typeshed/pull/4146 |
| moz-v2v-gh | https://github.com/moz-v2v-gh |
|
Oct 21, 2020
| https://github.com/python/typeshed/pull/4146#ref-commit-52ff818 |
|
| https://github.com/Hexcles |
|
| https://github.com/moz-wptsync-bot |
| Bug 1671356 [wpt PR 26102] - Remove a hack for mypy<0.790, a=testonly | https://github.com/mozilla/gecko-dev/commit/52ff8182d637e9d1ccf79fbc0e4acd9314f1072c |
| 52ff818 | https://github.com/mozilla/gecko-dev/commit/52ff8182d637e9d1ccf79fbc0e4acd9314f1072c |
| python/typeshed#4146 | https://github.com/python/typeshed/pull/4146 |
| jamienicol | https://github.com/jamienicol |
|
Oct 24, 2020
| https://github.com/python/typeshed/pull/4146#ref-commit-b97d875 |
|
| https://github.com/Hexcles |
|
| https://github.com/moz-wptsync-bot |
| Bug 1671356 [wpt PR 26102] - Remove a hack for mypy<0.790, a=testonly | https://github.com/jamienicol/gecko/commit/b97d8757488f4225f5a5eb52b2287da2f1613155 |
| b97d875 | https://github.com/jamienicol/gecko/commit/b97d8757488f4225f5a5eb52b2287da2f1613155 |
| python/typeshed#4146 | https://github.com/python/typeshed/pull/4146 |
| https://github.com/aucampia |
| aucampia | https://github.com/aucampia |
|
Sep 21, 2021
| https://github.com/python/typeshed/pull/4146#ref-issue-1003380924 |
|
TextIOWrapper stub does not match stdlib documentation
#6061
| https://github.com/python/typeshed/issues/6061 |
| bhearsum | https://github.com/bhearsum |
|
May 1, 2025
| https://github.com/python/typeshed/pull/4146#ref-commit-811c709 |
|
| https://github.com/Hexcles |
|
| https://github.com/moz-wptsync-bot |
| Bug 1671356 [wpt PR 26102] - Remove a hack for mypy<0.790, a=testonly | https://github.com/mozilla-releng/staging-firefox/commit/811c709d390bf3c4375ccfab6fb705f5d7360184 |
| 811c709 | https://github.com/mozilla-releng/staging-firefox/commit/811c709d390bf3c4375ccfab6fb705f5d7360184 |
| python/typeshed#4146 | https://github.com/python/typeshed/pull/4146 |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F4146 |
|
| https://github.com/srittau |
|
srittau
| https://github.com/srittau |
|
| https://github.com/python/typeshed/pull/4146/files/cc475e6d76cbef5a124052902160fd0b7df9e713 |
| Please reload this page | https://github.com/python/typeshed/pull/4146 |
|
topic: io
| https://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22topic%3A%20io%22 |
|
BinaryIO does not have peek method
| https://github.com/python/typeshed/issues/3951 |
| Please reload this page | https://github.com/python/typeshed/pull/4146 |
|
| https://github.com/JelleZijlstra |
|
| https://github.com/srittau |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |