Implemented PEP 370

This commit is contained in:
Christian Heimes 2008-05-06 22:41:46 +00:00
parent 323c40d48c
commit af748c3ab8
10 changed files with 397 additions and 62 deletions

View file

@ -82,6 +82,7 @@ int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */
on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
true divisions (which they will be in 2.3). */
int _Py_QnewFlag = 0;
int Py_NoUserSiteDirectory = 0; /* for -s and site.py */
/* PyModule_GetWarningsModule is no longer necessary as of 2.6
since _warnings is builtin. This API should not be used. */