SIGN IN SIGN UP

bpo-36854: gcmodule.c gets its state from tstate (GH-17285)

* Add GCState type for readability
* gcmodule.c now gets its gcstate from tstate
* _PyGC_DumpShutdownStats() now expects tstate rather than runtime
* Rename "state" to "gcstate" for readability: to avoid confusion
  between "state" and "tstate" for example.
* collect() now only expects tstate: it gets gcstate from tstate.
* Pass tstate to _PyErr_xxx() functions
V
Victor Stinner committed
67e0de6f0b060ac8f373952f0ca4b3117ad5b611
Parent: 9da7430
Committed by GitHub <noreply@github.com> on 11/20/2019, 10:48:18 AM