]> granicus.if.org Git - python/commit
bpo-32030: Add more options to _PyCoreConfig (#4485)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 21 Nov 2017 02:12:22 +0000 (18:12 -0800)
committerGitHub <noreply@github.com>
Tue, 21 Nov 2017 02:12:22 +0000 (18:12 -0800)
commit25420fe290b98171e6d30edf9350292c21ef700e
tree265d725ef6c341501f38873266c91e7461fd0364
parent09f3a8a1249308a104a89041d82fe99e6c087043
bpo-32030: Add more options to _PyCoreConfig (#4485)

Py_Main() now handles two more -X options:

* -X showrefcount: new _PyCoreConfig.show_ref_count field
* -X showalloccount: new _PyCoreConfig.show_alloc_count field
Include/object.h
Include/pystate.h
Modules/main.c
Objects/listobject.c
Objects/object.c
Objects/tupleobject.c
Python/import.c
Python/pylifecycle.c
Python/pythonrun.c