◐ Shell
clean mode source ↗

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

@scoder

pablogsal

@scoder

pablogsal

…ions to make it easy for users to ('atomically') know whether they actually changed something and what state to go back to later. Also, returning an "int" may make it easier to add error handling later, if that becomes needed at some point.

pablogsal

@scoder

vstinner

vstinner

… gc.collect() implementation).
…othing if GC is disabled.

vstinner

@scoder

vstinner

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner

vstinner

@scoder

vstinner

@scoder scoder deleted the bpo-28254_gc_capi branch

April 28, 2021 16:12

This was referenced

Apr 29, 2021