| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3b7acd7f-db32-1872-0327-57dec31c444d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AA62:1FE434:2065266:2A947CC:6B023B6E |
| html-safe-nonce | 3d9dbc46871b0aec886db2b2d6d5a460006f71580ef20f7b2eca2eeeaf5f7586 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTYyOjFGRTQzNDoyMDY1MjY2OjJBOTQ3Q0M6NkIwMjNCNkUiLCJ2aXNpdG9yX2lkIjoiNjE5NTY2MDM3NjkxNTQ1ODkyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bd276d3f9afb842fbc556cfc9d39cc2df038bf1b12c23f91b1611cf7267a0a62 |
| hovercard-subject-tag | pull_request:1814767421 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/117696/files |
| twitter:image | https://avatars.githubusercontent.com/u/655866?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/655866?s=400&v=4 |
| og:image:alt | This marks objects as using deferred refrence counting using the
ob_gc_bits field in the free-threaded build and collects those objects
during GC.
Issue: gh-117376 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/117696/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117696%2Ffiles |
| 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%2Fcpython%2Fpull%2F117696%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/117696/files |
| Reload | https://github.com/python/cpython/pull/117696/files |
| Reload | https://github.com/python/cpython/pull/117696/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| colesbury | https://github.com/colesbury |
| python:main | https://github.com/python/cpython/tree/main |
| colesbury:gh-117376-deferred-rc | https://github.com/colesbury/cpython/tree/gh-117376-deferred-rc |
|
Conversation
13
| https://github.com/python/cpython/pull/117696 |
|
Commits
5
| https://github.com/python/cpython/pull/117696/commits |
|
Checks
0
| https://github.com/python/cpython/pull/117696/checks |
|
Files changed
| https://github.com/python/cpython/pull/117696/files |
| Please reload this page | https://github.com/python/cpython/pull/117696/files |
|
gh-117376: Partial implementation of deferred reference counting
| https://github.com/python/cpython/pull/117696/files#top |
|
Show all changes
5 commits
| https://github.com/python/cpython/pull/117696/files |
|
206571b
gh-117376: Partial implementation deferred reference counting
colesbury Apr 9, 2024
| https://github.com/python/cpython/pull/117696/commits/206571bf0b0d846e578c79bf1dac965c5ad0bd57 |
|
30fc873
Remove unused function
colesbury Apr 10, 2024
| https://github.com/python/cpython/pull/117696/commits/30fc873f67b15573098c5eac2072979b849f9ee0 |
|
f8add0e
Simplify module___init___impl
colesbury Apr 11, 2024
| https://github.com/python/cpython/pull/117696/commits/f8add0e925bc728ff1ca4cf043674075f390b133 |
|
1d2d548
Merge branch 'main' into gh-117376-deferred-rc
colesbury Apr 12, 2024
| https://github.com/python/cpython/pull/117696/commits/1d2d548f3e737c8b93c2723c38f94753fd27f984 |
|
7034171
Remove extra whitespace
colesbury Apr 12, 2024
| https://github.com/python/cpython/pull/117696/commits/7034171c4bae1332f477981f100f73b6ed3e77f3 |
|
Clear filters
| https://github.com/python/cpython/pull/117696/files |
| Please reload this page | https://github.com/python/cpython/pull/117696/files |
| Please reload this page | https://github.com/python/cpython/pull/117696/files |
|
pycore_gc.h
| https://github.com/python/cpython/pull/117696/files#diff-0e64649e0124da22bbdd808a1902470f99752765073e6f1eb8bbd734ef1f4255 |
|
pycore_object.h
| https://github.com/python/cpython/pull/117696/files#diff-2a12f738a77b362d74a65949b58c37f2affcd15ba8b1c979b63bd00223b8a456 |
|
test_code.py
| https://github.com/python/cpython/pull/117696/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
descrobject.c
| https://github.com/python/cpython/pull/117696/files#diff-7952643fe36a8662b3e4be2c6478b06b1af5b5754fc25eaf3eb4b46569659264 |
|
funcobject.c
| https://github.com/python/cpython/pull/117696/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
moduleobject.c
| https://github.com/python/cpython/pull/117696/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
object.c
| https://github.com/python/cpython/pull/117696/files#diff-ba56d44ce0dd731d979970b966fde9d8dd15d12a82f727a052a8ad48d4a49363 |
|
typeobject.c
| https://github.com/python/cpython/pull/117696/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
gc_free_threading.c
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
| Include/internal/pycore_gc.h | https://github.com/python/cpython/pull/117696/files#diff-0e64649e0124da22bbdd808a1902470f99752765073e6f1eb8bbd734ef1f4255 |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Include/internal/pycore_gc.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-0e64649e0124da22bbdd808a1902470f99752765073e6f1eb8bbd734ef1f4255 |
|
| https://github.com/python/cpython/pull/117696/files#diff-0e64649e0124da22bbdd808a1902470f99752765073e6f1eb8bbd734ef1f4255 |
| Include/internal/pycore_object.h | https://github.com/python/cpython/pull/117696/files#diff-2a12f738a77b362d74a65949b58c37f2affcd15ba8b1c979b63bd00223b8a456 |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Include/internal/pycore_object.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-2a12f738a77b362d74a65949b58c37f2affcd15ba8b1c979b63bd00223b8a456 |
|
| https://github.com/python/cpython/pull/117696/files#diff-2a12f738a77b362d74a65949b58c37f2affcd15ba8b1c979b63bd00223b8a456 |
| Lib/test/test_code.py | https://github.com/python/cpython/pull/117696/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Lib/test/test_code.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/117696/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/117696/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/117696/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
| Objects/descrobject.c | https://github.com/python/cpython/pull/117696/files#diff-7952643fe36a8662b3e4be2c6478b06b1af5b5754fc25eaf3eb4b46569659264 |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Objects/descrobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-7952643fe36a8662b3e4be2c6478b06b1af5b5754fc25eaf3eb4b46569659264 |
|
| https://github.com/python/cpython/pull/117696/files#diff-7952643fe36a8662b3e4be2c6478b06b1af5b5754fc25eaf3eb4b46569659264 |
| Objects/funcobject.c | https://github.com/python/cpython/pull/117696/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Objects/funcobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/117696/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/117696/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
| Please reload this page | https://github.com/python/cpython/pull/117696/files |
|
| https://github.com/python/cpython/pull/117696/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L267 |
| Objects/moduleobject.c | https://github.com/python/cpython/pull/117696/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Objects/moduleobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
| Please reload this page | https://github.com/python/cpython/pull/117696/files |
|
| https://github.com/python/cpython/pull/117696/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
| https://github.com/python/cpython/pull/117696/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
| https://github.com/python/cpython/pull/117696/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
| https://github.com/python/cpython/pull/117696/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L215 |
| Objects/object.c | https://github.com/python/cpython/pull/117696/files#diff-ba56d44ce0dd731d979970b966fde9d8dd15d12a82f727a052a8ad48d4a49363 |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Objects/object.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-ba56d44ce0dd731d979970b966fde9d8dd15d12a82f727a052a8ad48d4a49363 |
|
| https://github.com/python/cpython/pull/117696/files#diff-ba56d44ce0dd731d979970b966fde9d8dd15d12a82f727a052a8ad48d4a49363 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L217 |
| Objects/typeobject.c | https://github.com/python/cpython/pull/117696/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Objects/typeobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| Please reload this page | https://github.com/python/cpython/pull/117696/files |
|
| https://github.com/python/cpython/pull/117696/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| Python/gc_free_threading.c | https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
View file
| https://github.com/colesbury/cpython/blob/7034171c4bae1332f477981f100f73b6ed3e77f3/Python/gc_free_threading.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/117696/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| https://github.com/python/cpython/pull/117696/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d |
|
| 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 |