]> granicus.if.org Git - python/commit
bpo-32030: Simplify _PyCoreConfig_INIT macro (#4728)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 5 Dec 2017 14:12:41 +0000 (15:12 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2017 14:12:41 +0000 (15:12 +0100)
commit33c377ed9b6cb3b9493005314c4e0cfa7517ea65
tree57c547459a63179830eba576c4ea2959a605c117
parentae342cf7deebdcf2035f4064609b32b2102dadcf
bpo-32030: Simplify _PyCoreConfig_INIT macro (#4728)

* Simplify _PyCoreConfig_INIT, _PyMainInterpreterConfig_INIT,
  _PyPathConfig_INIT macros: no need to set fields to 0/NULL, it's
  redundant (the C language sets them to 0/NULL for us).
* Fix typo: pymain_run_statup() => pymain_run_startup()
* Remove a few XXX/TODO
Include/internal/pystate.h
Include/pystate.h
Modules/main.c
Python/pylifecycle.c