René's URL Explorer Experiment


Title: gh-132042: Speed up slot lookup during class creation by eendebakpt · Pull Request #159479 · python/cpython · GitHub

Open Graph Title: gh-132042: Speed up slot lookup during class creation by eendebakpt · Pull Request #159479 · python/cpython

X Title: gh-132042: Speed up slot lookup during class creation by eendebakpt · Pull Request #159479 · python/cpython

Description: fixup_slot_dispatchers() resolves the special-method slots of a new class with one dict lookup per slot name and per class in the MRO: about 92 names times the MRO length, ~180 lookups for class A: pass and ~650 for a MutableMapping subclass. This PR scans each dict along the MRO once instead, matches its dunder keys against a small static table of slot names, and records the first hit per slot. The rest of update_one_slot() is unchanged and the result is identical to find_name_in_mro() for every slot. The per-name lookup remains as the fallback for dicts that cannot be scanned (non-string keys, more than 1000 entries, or on the free-threaded build a dict whose mutex is held by another thread, since the scan never blocks while holding the type lock) and for update_slot(). Compared to earlier work on this problem, there is no caching and no per-type memory (#4902 (gh-76527) cached the slot descriptors ; #132618 builds a merged MRO dict per class creation (allocation plus a PyDict_Merge per base) and had to change test_descr). A regression test covers class creation racing with setattr on a base on the free-threaded build. @sergey-miryanov Benchmarks -O3 non-PGO build on Linux, pyperf pinned to one core: Benchmark main PR class A: pass 4.01 µs 2.43 µs: 1.65x faster class E(D), depth-5 single-inheritance chain 7.01 µs 2.84 µs: 2.47x faster class T(MagicMock) 7.87 µs 3.37 µs: 2.34x faster class T(MutableMapping) 9.79 µs 5.58 µs: 1.76x faster class T(A, B) (multiple inheritance) 5.49 µs 2.79 µs: 1.97x faster Mock() (creates a class per instance) 16.2 µs 10.7 µs: 1.52x faster MagicMock() 77.4 µs 63.4 µs: 1.22x faster types.new_class('A') 6.77 µs 4.42 µs: 1.53x faster typing.Protocol subclass 21.2 µs 15.1 µs: 1.40x faster typing.TypedDict subclass 27.6 µs 22.2 µs: 1.24x faster namedtuple('P', 'x y z') 29.4 µs 27.7 µs: 1.06x faster Enum with two members 29.9 µs 28.1 µs: 1.07x faster @dataclass with two fields 127 µs 125 µs: not significant A.__len__ = f 219 ns 172 ns: 1.27x faster A.__tablename__ = 'x' (dunder, not a slot) 115 ns 69.7 ns: 1.65x faster The benchmark script from #132156 / #132618 (1000-iteration cases): Benchmark main PR 1000-empty_cls 6.42 ms 3.96 ms: 1.62x faster 1000-cls_with_dunders 7.24 ms 4.91 ms: 1.47x faster 1000-empty_cls_with_bases-bases=['A', 'B'] 9.06 ms 4.61 ms: 1.96x faster 1000-cls_with_bases-bases=['A', 'B'] 9.51 ms 5.67 ms: 1.68x faster 1000-empty_cls_with_bases-bases=['A', 'B', 'D'] 9.93 ms 5.07 ms: 1.96x faster 1000-cls_with_bases-bases=['A', 'B', 'D'] 11.2 ms 5.98 ms: 1.87x faster 1000-empty_cls_with_bases-bases=['A_dun', 'B_dun'] 8.75 ms 4.70 ms: 1.86x faster 1000-cls_with_bases-bases=['A_dun', 'B_dun'] 9.77 ms 5.74 ms: 1.70x faster 1000-empty_cls_with_bases-bases=['A_dun', 'B_dun', 'D_dun'] 10.2 ms 5.51 ms: 1.85x faster 1000-cls_with_bases-bases=['A_dun', 'B_dun', 'D_dun'] 11.1 ms 6.49 ms: 1.71x faster 1000-empty_cls_with_bases-bases=['Logger'] 8.40 ms 4.76 ms: 1.76x faster 1000-cls_with_bases-bases=['Logger'] 9.14 ms 5.95 ms: 1.54x faster 1000-empty_cls_with_bases-bases=['DatagramHandler'] 10.3 ms 5.39 ms: 1.91x faster 1000-cls_with_bases-bases=['DatagramHandler'] 11.2 ms 6.47 ms: 1.74x faster 1000-empty_cls_with_bases-bases=['MagicMock'] 12.3 ms 5.73 ms: 2.15x faster 1000-cls_with_bases-bases=['MagicMock'] 13.0 ms 6.97 ms: 1.87x faster 1000-empty_cls_with_bases-bases=['Shelf'] 14.7 ms 8.41 ms: 1.75x faster 1000-cls_with_bases-bases=['Shelf'] 15.6 ms 9.96 ms: 1.57x faster 1000-empty_cls_with_bases-bases=['tuple'] 7.35 ms 4.75 ms: 1.55x faster 1000-cls_with_bases-bases=['tuple'] 8.23 ms 6.10 ms: 1.35x faster 1000-empty_cls_with_bases-bases=['dict'] 7.57 ms 5.09 ms: 1.49x faster 1000-cls_with_bases-bases=['dict'] 8.37 ms 6.15 ms: 1.36x faster 1000-empty_cls_with_bases-bases=['list'] 7.56 ms 5.11 ms: 1.48x faster 1000-cls_with_bases-bases=['list'] 8.48 ms 6.52 ms: 1.30x faster Geometric mean (ref) 1.67x faster Notes: #132618 no longer applies to main, so for a direct comparison its approach was re-implemented on top of current main. On 14 of the cases above, run back to back on the same machine, this PR is 1.78x faster than main (geometric mean) and the #132618 approach 1.39x. Whole-process effect: python -I -c pass executes 8% fewer instructions (47.6M to 43.8M, callgrind), and importing class-heavy stdlib modules (asyncio, typing, unittest.mock, email.message, argparse, inspect, decimal, tkinter) is 4-8% faster in wall time. Three-way comparison: main vs this PR vs #132618 on current main Benchmark main this PR #132618 1000-empty_cls 3.90 ms 2.52 ms: 1.55x faster 3.13 ms: 1.24x faster 1000-cls_with_dunders 4.44 ms 3.10 ms: 1.43x faster 3.71 ms: 1.20x faster 1000-empty_cls_with_bases-bases=['A', 'B', 'D'] 6.30 ms 3.18 ms: 1.98x faster 3.91 ms: 1.61x faster 1000-cls_with_bases-bases=['A', 'B', 'D'] 6.95 ms 3.83 ms: 1.81x faster 4.55 ms: 1.53x faster 1000-empty_cls_with_bases-bases=['A_dun', 'B_dun', 'D_dun'] 6.24 ms 3.24 ms: 1.93x faster 3.98 ms: 1.57x faster 1000-empty_cls_with_bases-bases=['Logger'] 5.37 ms 2.88 ms: 1.87x faster 3.97 ms: 1.35x faster 1000-cls_with_bases-bases=['Logger'] 5.96 ms 3.53 ms: 1.69x faster 4.64 ms: 1.29x faster 1000-empty_cls_with_bases-bases=['DatagramHandler'] 6.67 ms 3.15 ms: 2.12x faster 4.27 ms: 1.56x faster 1000-empty_cls_with_bases-bases=['MagicMock'] 7.91 ms 3.47 ms: 2.28x faster 4.81 ms: 1.64x faster 1000-cls_with_bases-bases=['MagicMock'] 8.47 ms 4.12 ms: 2.06x faster 5.48 ms: 1.54x faster 1000-empty_cls_with_bases-bases=['Shelf'] 9.48 ms 5.00 ms: 1.90x faster 6.35 ms: 1.49x faster 1000-empty_cls_with_bases-bases=['tuple'] 4.74 ms 2.91 ms: 1.63x faster 3.66 ms: 1.30x faster 1000-cls_with_bases-bases=['dict'] 5.33 ms 3.72 ms: 1.43x faster 4.69 ms: 1.13x faster 1000-empty_cls_with_bases-bases=['list'] 4.76 ms 3.07 ms: 1.55x faster 4.06 ms: 1.17x faster Geometric mean (ref) 1.78x faster 1.39x faster Benchmark script for the first table import pyperf runner = pyperf.Runner() runner.timeit("class A: pass", stmt="class A: pass") runner.timeit("class E(D) depth-5 chain", setup="class A: pass\nclass B(A): pass\nclass C(B): pass\nclass D(C): pass", stmt="class E(D): pass") runner.timeit("class T(MagicMock)", setup="from unittest.mock import MagicMock", stmt="class T(MagicMock): pass") runner.timeit("class T(MutableMapping)", setup="from cohis PR runner.timeit("types.new_class", setup="import types", stmt="types.new_class('A')") runner.timeit("typing.Protocol", setup="from typing import Protocol", stmt="class P(Protocol):\n def f(self) -> int: ...") runner.timeit("typing.TypedDict", setup="from typing import TypedDict", stmt="class P(TypedDict):\n x: int\n y: int") runner.timeit("namedtuple", setup="from collections import namedtuple", stmt="namedtuple('P', 'x y z')") runner.timeit("Enum", setup="from enum import Enum", stmt="class Color(Enum):\n RED = 1\n GREEN = 2") runner.timeit("dataclass", setup="from dataclasses import dataclass", stmt="@dataclass\nclass P:\n x: int\n y: int") runner.timeit("setattr slot dunder", setup="class A: pass\nf = lambda s: 0", stmt="A.__len__ = f") runner.timeit("setattr non-slot dunder", setup="class A: pass", stmt="A.__tablename__ = 'x'") Generated with help from Claude Code Issue: gh-132042

Open Graph Description: fixup_slot_dispatchers() resolves the special-method slots of a new class with one dict lookup per slot name and per class in the MRO: about 92 names times the MRO length, ~180 lookups for class A:...

X Description: fixup_slot_dispatchers() resolves the special-method slots of a new class with one dict lookup per slot name and per class in the MRO: about 92 names times the MRO length, ~180 lookups for class A:...

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

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:681ba1c2-fd2c-4923-de1c-618a50a3be97
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DE4:33444D:37ABD7E:49FBD81:6B0212FD
html-safe-nonce0f3b24dacdc7794dd54624658c833340c332ce37c8d6d6aac1a87ee60d31810b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REU0OjMzNDQ0RDozN0FCRDdFOjQ5RkJEODE6NkIwMjEyRkQiLCJ2aXNpdG9yX2lkIjoiNzQ0ODE0NjQxMzIxODgyOTA1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca2b6d53f872c47d4f20b05307bd4775cd1d43a4dd91ddb847565f1231335276b
hovercard-subject-tagpull_request:4876762589
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/159479/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:altfixup_slot_dispatchers() resolves the special-method slots of a new class with one dict lookup per slot name and per class in the MRO: about 92 names times the MRO length, ~180 lookups for class A:...
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/159479/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F159479%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%2F159479%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/159479/files
Reloadhttps://github.com/python/cpython/pull/159479/files
Reloadhttps://github.com/python/cpython/pull/159479/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
eendebakpthttps://github.com/eendebakpt
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:type_new_fast_slot_lookuphttps://github.com/eendebakpt/cpython/tree/type_new_fast_slot_lookup
Conversation 8 https://github.com/python/cpython/pull/159479
Commits 11 https://github.com/python/cpython/pull/159479/commits
Checks 54 https://github.com/python/cpython/pull/159479/checks
Files changed https://github.com/python/cpython/pull/159479/files
Please reload this pagehttps://github.com/python/cpython/pull/159479/files
gh-132042: Speed up slot lookup during class creation https://github.com/python/cpython/pull/159479/files#top
Show all changes 11 commits https://github.com/python/cpython/pull/159479/files
12c36e9 gh-132042: Speed up slot lookup during class creation eendebakpt Oct 15, 2026 https://github.com/python/cpython/pull/159479/commits/12c36e9b8e50e29383b0551f3ea2b94cba66cff2
6926f01 Merge branch 'main' into type_new_fast_slot_lookup eendebakpt Oct 15, 2026 https://github.com/python/cpython/pull/159479/commits/6926f016118955c67838df8e0ed0dd656316b29f
d180ded Replace dead defensive checks in collect_slot_descrs() with asserts eendebakpt Oct 15, 2026 https://github.com/python/cpython/pull/159479/commits/d180deda96aa2d6ec92a41e2e1f2ccbd6224a21f
8b518c9 Use the slot name table in update_slot() eendebakpt Oct 15, 2026 https://github.com/python/cpython/pull/159479/commits/8b518c971ed37acd62cf4de7e08750a271f3b612
e9ec8b6 Share the slot name table probe loop eendebakpt Oct 15, 2026 https://github.com/python/cpython/pull/159479/commits/e9ec8b63827959c55912d12973314bfa53c9a57c
cd172c9 review comments eendebakpt Oct 18, 2026 https://github.com/python/cpython/pull/159479/commits/cd172c992fce754c2f4575681815fb291d3ce323
5c154f3 Merge branch 'main' into type_new_fast_slot_lookup eendebakpt Oct 18, 2026 https://github.com/python/cpython/pull/159479/commits/5c154f30e470ce8d6f9feb1acef7bedefd0b5321
8d742e0 gh-132042: Allow dict subclasses as tp_dict in the slot scan eendebakpt Oct 31, 2026 https://github.com/python/cpython/pull/159479/commits/8d742e00df26c03c1c4a430ecbb4d691932b252a
4007869 gh-132042: Test subclassing a type whose tp_dict is a dict subclass eendebakpt Oct 31, 2026 https://github.com/python/cpython/pull/159479/commits/40078695009b4145928d633110356b3f0a9b1c88
9b7ff6a Merge branch 'main' into type_new_fast_slot_lookup eendebakpt Nov 1, 2026 https://github.com/python/cpython/pull/159479/commits/9b7ff6a9be3991885430c2553bd26ef60b7a4a84
9669c6f gh-132042: Ignore the MyListDictSubclass_Type static type in check-c-… eendebakpt Nov 1, 2026 https://github.com/python/cpython/pull/159479/commits/9669c6f047dd78d7e39e355f5d57df508b5e801f
Clear filters https://github.com/python/cpython/pull/159479/files
Please reload this pagehttps://github.com/python/cpython/pull/159479/files
Please reload this pagehttps://github.com/python/cpython/pull/159479/files
test_type.py https://github.com/python/cpython/pull/159479/files#diff-a8af649883f1fd6cc5d4e25b372482d85955a7f65a3451acf2d4f28dee757578
test_type.py https://github.com/python/cpython/pull/159479/files#diff-3c426450792efb85491fe7c8888758e54cbef12bcc110ba6a1a460e400a3a901
2026-10-14-23-05-00.gh-issue-132042.k7Qs2w.rst https://github.com/python/cpython/pull/159479/files#diff-2fd4936110923dfdaf25ffd42d2da27a0abb5919992cd1bc94dc536014f1b6e1
_testcapimodule.c https://github.com/python/cpython/pull/159479/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
typeobject.c https://github.com/python/cpython/pull/159479/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
ignored.tsv https://github.com/python/cpython/pull/159479/files#diff-fa2373a9a002e491408e623369773045f4b7de90114b9f5ba6933bfbf2d8c45c
Lib/test/test_capi/test_type.pyhttps://github.com/python/cpython/pull/159479/files#diff-a8af649883f1fd6cc5d4e25b372482d85955a7f65a3451acf2d4f28dee757578
View file https://github.com/eendebakpt/cpython/blob/9669c6f047dd78d7e39e355f5d57df508b5e801f/Lib/test/test_capi/test_type.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/159479/{{ revealButtonHref }}
https://github.com/python/cpython/pull/159479/files#diff-a8af649883f1fd6cc5d4e25b372482d85955a7f65a3451acf2d4f28dee757578
https://github.com/python/cpython/pull/159479/files#diff-a8af649883f1fd6cc5d4e25b372482d85955a7f65a3451acf2d4f28dee757578
Lib/test/test_free_threading/test_type.pyhttps://github.com/python/cpython/pull/159479/files#diff-3c426450792efb85491fe7c8888758e54cbef12bcc110ba6a1a460e400a3a901
View file https://github.com/eendebakpt/cpython/blob/9669c6f047dd78d7e39e355f5d57df508b5e801f/Lib/test/test_free_threading/test_type.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/159479/{{ revealButtonHref }}
https://github.com/python/cpython/pull/159479/files#diff-3c426450792efb85491fe7c8888758e54cbef12bcc110ba6a1a460e400a3a901
Misc/NEWS.d/next/Core_and_Builtins/2026-10-14-23-05-00.gh-issue-132042.k7Qs2w.rsthttps://github.com/python/cpython/pull/159479/files#diff-2fd4936110923dfdaf25ffd42d2da27a0abb5919992cd1bc94dc536014f1b6e1
View file https://github.com/eendebakpt/cpython/blob/9669c6f047dd78d7e39e355f5d57df508b5e801f/Misc/NEWS.d/next/Core_and_Builtins/2026-10-14-23-05-00.gh-issue-132042.k7Qs2w.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/159479/{{ revealButtonHref }}
Modules/_testcapimodule.chttps://github.com/python/cpython/pull/159479/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
View file https://github.com/eendebakpt/cpython/blob/9669c6f047dd78d7e39e355f5d57df508b5e801f/Modules/_testcapimodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/159479/{{ revealButtonHref }}
https://github.com/python/cpython/pull/159479/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
https://github.com/python/cpython/pull/159479/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
https://github.com/python/cpython/pull/159479/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
https://github.com/python/cpython/pull/159479/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
Please reload this pagehttps://github.com/python/cpython/pull/159479/files
Please reload this pagehttps://github.com/python/cpython/pull/159479/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.