René's URL Explorer Experiment


Title: gh-161184: Use a managed dict and weakref list for the _io types by eendebakpt · Pull Request #161236 · python/cpython · GitHub

Open Graph Title: gh-161184: Use a managed dict and weakref list for the _io types by eendebakpt · Pull Request #161236 · python/cpython

X Title: gh-161184: Use a managed dict and weakref list for the _io types by eendebakpt · Pull Request #161236 · python/cpython

Description: _io._IOBase and its C subclasses carried an explicit dict and weakreflist field exposed through __dictoffset__/__weaklistoffset__. This PR switches to Py_TPFLAGS_MANAGED_DICT | Py_TPFLAGS_MANAGED_WEAKREF (inherited by subclasses, as #160616 did for ast.AST). The managed dict improves performance, the weakref part is added for consistency (performance-neutral, saves a pointer per instance). Benchmarks Benchmark main PR http.client: HTTPResponse(sock).begin() + read() of a 2-byte body 22 us 21 us: 1.06x faster http.client: read() of a chunked body (1000 chunks) 707 us 525 us: 1.35x faster http.client: read(100) x 1000 293 us 144 us: 2.03x faster http.client: for line in response (1000 lines) 317 us 166 us: 1.91x faster zipfile: zf.read(name) for 200 small members 1.23 ms 922 us: 1.33x faster zipfile: for line in zf.open(name) (1000 lines) 269 us 176 us: 1.53x faster zipfile: ZipExtFile.read(100) x 1000 266 us 177 us: 1.50x faster gzip: GzipFile.read(100) x 1000 229 us 155 us: 1.48x faster gzip: GzipFile.write(100 bytes) x 1000 427 us 349 us: 1.22x faster tempfile: SpooledTemporaryFile.write(100 bytes) x 1000 133 us 78 us: 1.71x faster urllib3: HTTPResponse.read(100) x 1000 1.63 ms 1.21 ms: 1.34x faster urllib3: for chunk in response.stream(100) 2.05 ms 1.61 ms: 1.27x faster control (list(range(20000))) 958 us 955 us: 1.00x Geometric mean (ex control) 1.45x faster Compatibility analysis from Claude Python subclasses are unaffected: __dict__, __weakref__, __slots__, pickling and copying behave as before. Two changes are visible to C code and introspection: __dictoffset__ and __weakrefoffset__ now report the managed pre-header offsets (-1 and -32 on 64-bit builds), and the _io struct sizes shrink by two pointers. An extension type created with PyType_FromSpec on an _io base that also declares its own __dictoffset__ or __weaklistoffset__ member now fails at type creation with TypeError: type X has the Py_TPFLAGS_MANAGED_DICT flag but tp_dictoffset is set, instead of silently getting a second dict slot. Static PyTypeObject subclasses of the _io types have been impossible since they became heap types, Cython does not allow cdef class X(io.RawIOBase), and a survey of PyPI projects that build on the _io types (python-zstandard, pyzstd, cramjam, pyarrow, rapidgzip, indexed_gzip, pysam, cffi, among others) found no compiled subclass of any _io type, so no known package is affected. Benchmark script """Real-world code paths that run Python methods on io subclasses.""" import gzip, io, sys, tempfile, zipfile, pyperf import http.client from urllib3.response import HTTPResponse as U3Response CHUNK = 100 N = 1000 BODY = bytes(range(256)) * (CHUNK * N // 256) # ~100 KB LINES = b"".join(b"d: some text on this line, to be read\n" % i for i in range(N)) class FakeSocket: def __init__(self, data): self.data = data def makefile(self, mode): return io.BytesIO(self.data) def close(self): pass HEADERS = (b"HTTP/1.1 200 OK\r\nServer: bench\r\nDate: Mon, 02 Nov 2026 10:00:00 GMT\r\n" b"Content-Type: text/plain\r\nCache-Control: no-cache\r\n" b"Connection: keep-alive\r\nX-Request-Id: 0123456789abcdef\r\n") def chunked_body(data, size): out = [] for i in range(0, len(data), size): c = data[i:i + size] out.append(b"%x\r\n%s\r\n" % (len(c), c)) out.append(b"0\r\n\r\n") return b"".join(out) RESP_CL = HEADERS + b"Content-Length: %d\r\n\r\n" % len(BODY) + BODY RESP_LINES = HEADERS + b"Content-Length: %d\r\n\r\n" % len(LINES) + LINES RESP_CHUNKED = HEADERS + b"Transfer-Encoding: chunked\r\n\r\n" + chunked_body(BODY, CHUNK) RESP_SMALL = HEADERS + b"Content-Length: 2\r\n\r\nok" def _response(raw): r = http.client.HTTPResponse(FakeSocket(raw), method="GET") r.begin() return r def httpclient_begin(loops): """HTTPResponse(sock).begin(): one per HTTP request.""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: _response(RESP_SMALL).read() return pyperf.perf_counter() - t0 def httpclient_read_chunked(loops): """read() of a chunked body with 1000 100-byte chunks.""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: _response(RESP_CHUNKED).read() return pyperf.perf_counter() - t0 def httpclient_read_small(loops): """read(100) x 1000 on a Content-Length body.""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: resp = _response(RESP_CL) read = resp.read while read(CHUNK): pass return pyperf.perf_counter() - t0 def httpclient_iter_lines(loops): """for line in response: (1000 lines).""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: for line in _response(RESP_LINES): pass return pyperf.perf_counter() - t0 # --- zipfile --------------------------------------------------------------- _zbuf = io.BytesIO() with zipfile.ZipFile(_zbuf, "w", zipfile.ZIP_DEFLATED) as zf: for i in range(200): zf.writestr("memberd.txt" % i, b"x" * 100) zf.writestr("lines.txt", LINES) zf.writestr("body.bin", BODY) ZF = zipfile.ZipFile(_zbuf) MEMBERS = [n for n in ZF.namelist() if n.startswith("member")] def zipfile_read_members(loops): """zf.read(name) for 200 small members (ZipExtFile created per member).""" r = range(loops); read = ZF.read; t0 = pyperf.perf_counter() for _ in r: for name in MEMBERS: read(name) return pyperf.perf_counter() - t0 def zipfile_iter_lines(loops): """for line in zf.open(name): (1000 lines).""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: with ZF.open("lines.txt") as f: for line in f: pass return pyperf.perf_counter() - t0 def zipfile_read_small(loops): """f.read(100) x 1000 from a deflated member.""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: with ZF.open("body.bin") as f: read = f.read while read(CHUNK): pass return pyperf.perf_counter() - t0 # --- gzip ------------------------------------------------------------------- GZ = gzip.compress(BODY) def gzip_read_small(loops): """GzipFile.read(100) x 1000.""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: with gzip.GzipFile(fileobj=io.BytesIO(GZ)) as f: read = f.read while read(CHUNK): pass return pyperf.perf_counter() - t0 def gzip_write_small(loops): """GzipFile.write(100 bytes) x 1000.""" r = range(loops); piece = BODY[:CHUNK]; t0 = pyperf.perf_counter() for _ in r: with gzip.GzipFile(fileobj=io.BytesIO(), mode="wb") as f: write = f.write for _ in range(N): write(piece) return pyperf.perf_counter() - t0 # --- tempfile --------------------------------------------------------------- def spooled_write_small(loops): """SpooledTemporaryFile.write(100 bytes) x 1000 (stays in memory).""" r = range(loops); piece = BODY[:CHUNK]; t0 = pyperf.perf_counter() for _ in r: with tempfile.SpooledTemporaryFile(max_size=10**7) as f: write = f.write for _ in range(N): write(piece) return pyperf.perf_counter() - t0 # --- urllib3 ---------------------------------------------------------------- def _u3(): return U3Response(body=io.BytesIO(BODY), headers={"content-length": str(len(BODY))}, status=200, preload_content=False, decode_content=True) def urllib3_read_small(loops): """urllib3 HTTPResponse.read(100) x 1000.""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: resp = _u3(); read = resp.read while read(CHUNK): pass return pyperf.perf_counter() - t0 def urllib3_stream(loops): """for chunk in resp.stream(100): (1000 chunks).""" r = range(loops); t0 = pyperf.perf_counter() for _ in r: for chunk in _u3().stream(CHUNK): pass return pyperf.perf_counter() - t0 def control_list(loops): """Unaffected code: noise floor of the two-binary comparison.""" r = range(loops); q = range(20000); t0 = pyperf.perf_counter() for _ in r: list(q); list(q); list(q); list(q); list(q) return pyperf.perf_counter() - t0 BENCHES = (httpclient_begin, httpclient_read_chunked, httpclient_read_small, httpclient_iter_lines, zipfile_read_members, zipfile_iter_lines, zipfile_read_small, gzip_read_small, gzip_write_small, spooled_write_small, urllib3_read_small, urllib3_stream, control_list) if __name__ == "__main__": if "--check" in sys.argv: for f in BENCHES: print(f.__name__, "%.3f ms" % (f(1) * 1e3)) sys.exit() runner = pyperf.Runner() for f in BENCHES: runner.bench_time_func(f.__name__, f) Issue: gh-161184

Open Graph Description: _io._IOBase and its C subclasses carried an explicit dict and weakreflist field exposed through __dictoffset__/__weaklistoffset__. This PR switches to Py_TPFLAGS_MANAGED_DICT | Py_TPFLAGS_MANAGED_W...

X Description: _io._IOBase and its C subclasses carried an explicit dict and weakreflist field exposed through __dictoffset__/__weaklistoffset__. This PR switches to Py_TPFLAGS_MANAGED_DICT | Py_TPFLAGS_MANAGED_W...

Opengraph URL: https://github.com/python/cpython/pull/161236

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f7a45fb1-3e56-77b4-f168-800b984f85f0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCEFE:65478:3A2D78C:4D26383:6B0216AF
html-safe-nonce59cf07b7686920b902cfafae1cef53d3f1785dc2410e6c32309877f3958f99db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUZFOjY1NDc4OjNBMkQ3OEM6NEQyNjM4Mzo2QjAyMTZBRiIsInZpc2l0b3JfaWQiOiI3NTEyMDc3MjA3NTc4MjIwMjA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0c98bd72a4a4477143057c60f39e4d86cd6c84dc76683d46cfda4c09400af602
hovercard-subject-tagpull_request:5134010138
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/161236/files
twitter:imagehttps://avatars.githubusercontent.com/u/883786?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/883786?s=400&v=4
og:image:alt_io._IOBase and its C subclasses carried an explicit dict and weakreflist field exposed through __dictoffset__/__weaklistoffset__. This PR switches to Py_TPFLAGS_MANAGED_DICT | Py_TPFLAGS_MANAGED_W...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/161236/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F161236%2Ffiles
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%2Fcpython%2Fpull%2F161236%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/161236/files
Reloadhttps://github.com/python/cpython/pull/161236/files
Reloadhttps://github.com/python/cpython/pull/161236/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:io-managed-weakrefhttps://github.com/eendebakpt/cpython/tree/io-managed-weakref
Conversation 6 https://github.com/python/cpython/pull/161236
Commits 7 https://github.com/python/cpython/pull/161236/commits
Checks 54 https://github.com/python/cpython/pull/161236/checks
Files changed https://github.com/python/cpython/pull/161236/files
Please reload this pagehttps://github.com/python/cpython/pull/161236/files
gh-161184: Use a managed dict and weakref list for the _io types https://github.com/python/cpython/pull/161236/files#top
Show all changes 7 commits https://github.com/python/cpython/pull/161236/files
4a9f0fa Use a managed dict for the _io types eendebakpt Nov 2, 2026 https://github.com/python/cpython/pull/161236/commits/4a9f0fa85f7574084ff000e4ad636af0d875991a
899dcc9 Use a managed weakref list for the _io types eendebakpt Nov 3, 2026 https://github.com/python/cpython/pull/161236/commits/899dcc9ccca970ba18355465a335e4b782db09a1
7e36ce3 📜🤖 Added by blurb_it. blurb-it[bot] Nov 3, 2026 https://github.com/python/cpython/pull/161236/commits/7e36ce3a28737b13eaef1a6032b6ae246f02b05c
0d2c8f1 Fix line endings of the NEWS entry eendebakpt Nov 3, 2026 https://github.com/python/cpython/pull/161236/commits/0d2c8f1d7d801c49f6c7ff9a41bf5f9425a3c246
60955ab Remove the now-empty member tables of the _io types eendebakpt Nov 4, 2026 https://github.com/python/cpython/pull/161236/commits/60955ab89c00a3c8c1a584e89f3a964dcdfbce0f
97a77b7 Do not materialize an empty instance dict in BytesIO/StringIO.__getst… eendebakpt Nov 4, 2026 https://github.com/python/cpython/pull/161236/commits/97a77b7484be5e58fa14ed5cbd6c3863978ae5cd
a6bb0a4 Merge branch 'main' into io-managed-weakref eendebakpt Nov 8, 2026 https://github.com/python/cpython/pull/161236/commits/a6bb0a48dc3590dcb68de27f2fe5d4e83bb7490c
Clear filters https://github.com/python/cpython/pull/161236/files
Please reload this pagehttps://github.com/python/cpython/pull/161236/files
Please reload this pagehttps://github.com/python/cpython/pull/161236/files
test_general.py https://github.com/python/cpython/pull/161236/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
test_memoryio.py https://github.com/python/cpython/pull/161236/files#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776
2026-11-03-08-21-06.gh-issue-161184.PIhcD9.rst https://github.com/python/cpython/pull/161236/files#diff-7000fe37adeac167e641a2252cc2f19a31ab808adeaa625460f1ca72dc23d0f8
bufferedio.c https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
bytesio.c https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
fileio.c https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
iobase.c https://github.com/python/cpython/pull/161236/files#diff-ff67b9b1e4944ed1b8750a6c53db460f2f8e98f073177e64a32e990844520e90
stringio.c https://github.com/python/cpython/pull/161236/files#diff-216e14277a43aeac4f2fcbb183e3898c54abbd90bc8e822e9e7460bc2af69667
textio.c https://github.com/python/cpython/pull/161236/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
winconsoleio.c https://github.com/python/cpython/pull/161236/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L526
Lib/test/test_io/test_general.pyhttps://github.com/python/cpython/pull/161236/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
View file https://github.com/eendebakpt/cpython/blob/a6bb0a48dc3590dcb68de27f2fe5d4e83bb7490c/Lib/test/test_io/test_general.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/161236/{{ revealButtonHref }}
https://github.com/python/cpython/pull/161236/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
https://github.com/python/cpython/pull/161236/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L526
Lib/test/test_io/test_memoryio.pyhttps://github.com/python/cpython/pull/161236/files#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776
View file https://github.com/eendebakpt/cpython/blob/a6bb0a48dc3590dcb68de27f2fe5d4e83bb7490c/Lib/test/test_io/test_memoryio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/161236/{{ revealButtonHref }}
https://github.com/python/cpython/pull/161236/files#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776
https://github.com/python/cpython/pull/161236/files#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776
https://github.com/python/cpython/pull/161236/files#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776
https://github.com/python/cpython/pull/161236/files#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776
Misc/NEWS.d/next/Library/2026-11-03-08-21-06.gh-issue-161184.PIhcD9.rsthttps://github.com/python/cpython/pull/161236/files#diff-7000fe37adeac167e641a2252cc2f19a31ab808adeaa625460f1ca72dc23d0f8
View file https://github.com/eendebakpt/cpython/blob/a6bb0a48dc3590dcb68de27f2fe5d4e83bb7490c/Misc/NEWS.d/next/Library/2026-11-03-08-21-06.gh-issue-161184.PIhcD9.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/161236/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L527
Modules/_io/bufferedio.chttps://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
View file https://github.com/eendebakpt/cpython/blob/a6bb0a48dc3590dcb68de27f2fe5d4e83bb7490c/Modules/_io/bufferedio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/161236/{{ revealButtonHref }}
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/pull/161236/files#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L527
Modules/_io/bytesio.chttps://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
View file https://github.com/eendebakpt/cpython/blob/a6bb0a48dc3590dcb68de27f2fe5d4e83bb7490c/Modules/_io/bytesio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/161236/{{ revealButtonHref }}
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/pull/161236/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L527
Modules/_io/fileio.chttps://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
View file https://github.com/eendebakpt/cpython/blob/a6bb0a48dc3590dcb68de27f2fe5d4e83bb7490c/Modules/_io/fileio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/161236/{{ revealButtonHref }}
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/161236/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
Please reload this pagehttps://github.com/python/cpython/pull/161236/files
Please reload this pagehttps://github.com/python/cpython/pull/161236/files
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.