SIGN IN SIGN UP

bpo-42208: Pass tstate to _PyGC_CollectNoFail() (GH-23038)

Move private _PyGC_CollectNoFail() to the internal C API.

Remove the private _PyGC_CollectIfEnabled() which was just an alias
to the public PyGC_Collect() function since Python 3.8.

Rename functions:

* collect() => gc_collect_main()
* collect_with_callback() => gc_collect_with_callback()
* collect_generations() => gc_collect_generations()
V
Victor Stinner committed
8b3414818f5289eac530bf38bcfbd7b2b851805c
Parent: 99608c7
Committed by GitHub <noreply@github.com> on 10/30/2020, 4:00:00 PM