SIGN IN SIGN UP

bpo-32030: Add pymain_get_global_config() (#4735)

* Py_Main() now starts by reading Py_xxx configuration variables to
  only work on its own private structure, and then later writes back
  the configuration into these variables.
* Replace Py_GETENV() with pymain_get_env_var() which ignores empty
  variables.
* Add _PyCoreConfig.dump_refs
* Add _PyCoreConfig.malloc_stats
* _PyObject_DebugMallocStats() is now responsible to check if debug
  hooks are installed. The function returns 1 if stats were written,
  or 0 if the hooks are disabled. Mark _PyMem_PymallocEnabled() as
  static.
V
Victor Stinner committed
6bf992a1ac6f3f4d0f83ead9c6403a76afdbe6eb
Parent: 672b6ba
Committed by GitHub <noreply@github.com> on 12/6/2017, 4:26:10 PM