picop.cygc#

GC tuning helpers.

picop.cygc.gc_collect()#

Run a full GC collection via PyGC_Collect; return unreachable count.

Return type:

int

picop.cygc.gc_disable()#

Disable automatic GC via PyGC_Disable; return the prior enabled flag.

Return type:

int

picop.cygc.gc_enable()#

Enable automatic GC via PyGC_Enable; return the prior enabled flag.

Return type:

int

picop.cygc.gc_is_enabled()#

Return whether automatic GC is enabled via PyGC_IsEnabled.

Return type:

bool