bpo-28254: Add a C-API for controlling the state of the garbage collector by scoder · Pull Request #25687 · python/cpython · GitHub

github.com

Tin mới

scoder:bpo-28254_gc_capi

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

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

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

bpo-28254: Add a C-API for controlling the state of the garbage colle…

awaiting core review

awaiting core review

View reviewed changes

bpo-28254: Improve markup and add a What's New entry.

View reviewed changes

Apply suggestions from code review

bpo-28254: Return the previous GC state from the Enable/Disable funct…

Update Modules/_testcapimodule.c

Update Modules/_testcapimodule.c

Update Modules/_testcapimodule.c

bpo-28254: Formatting.

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

bpo-28254: Move new functions to a better place (not cutting into the…

Remove an incorrect part of a comment: PyGC_Collect() actually does n…

bpo-28254: Add documentation for the PyGC_*() functions.

bpo-28254: Add new PyGC_*() functions to the stable ABI list.

View reviewed changes

Doc/c-api/gcsupport.rst

bpo-28254: Apply suggestions from doc review.

View reviewed changes

Apply suggestions from doc review

View reviewed changes

Add a word on how PyGC_Collect() and gc.collect() differ.

Fix version marker.

View reviewed changes

Doc/c-api/gcsupport.rst

Fix version marker (II).

View reviewed changes

https://github.com/python/cpython/pull/25719/checks?check_run_id=2466874649

FYI, this has broken CI Example: https://github.com/python/cpython/pull/25719/checks?check_run_id=2466874649 Proposed fix: #25716