Issue #22869: Split pythonrun into two modules

- interpreter startup and shutdown code moved to a new
  pylifecycle.c module
- Py_OptimizeFlag moved into the new module with the other
  global flags
This commit is contained in:
Nick Coghlan 2014-11-20 21:39:37 +10:00
parent 66fb349d6c
commit d600951748
16 changed files with 1701 additions and 1587 deletions

View file

@ -5,6 +5,8 @@
extern "C" {
#endif
/* These global variable are defined in pylifecycle.c */
/* XXX (ncoghlan): move these declarations to pylifecycle.h? */
PyAPI_DATA(int) Py_DebugFlag;
PyAPI_DATA(int) Py_VerboseFlag;
PyAPI_DATA(int) Py_QuietFlag;