Tin mới
ericsnowcurrently:consolidate-py-reftotal
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Move _Py_RefTotal to PyInterpreterState #102304
gh-102304: Move the Total Refcount to PyInterpreterState #102545
Separate the internal helper functions.
_Py_GetRefTotal() -> _Py_GetGlobalRefTotal().
Move _Py_RefTotal to _PyRuntimeState.
Include the legacy total in _Py_GetGlobalRefTotal().
Stop being so clever with PyAPI_FUNC().
Drop unnecessary incr/decr to the reftotal.
Preserve the reftotal past runtime finalization.
Avoid double-counting the final reftotal.
Factor out sync_legacy_reftotal().
_Py_ClearRefTotal() -> _Py_FinalizeRefTotal().
Add a new global to the ingored list.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️
Hi! The buildbot x86 Gentoo Non-Debug with X 3.x has failed when building commit ad77d16.
gh-102304: Fix Non-Debug Builds #102846
: Move _Py_RefTotal to _PyRuntimeState (