mirror of
https://github.com/python/cpython.git
synced 2025-09-17 14:16:02 +00:00
Patch #602345 by Neal Norwitz and me: add -B option and PYTHONDONTWRITEBYTECODE envvar to skip writing bytecode.
This commit is contained in:
parent
b3255ed8c9
commit
2da0fceba7
8 changed files with 56 additions and 8 deletions
|
@ -17,6 +17,7 @@ PyAPI_DATA(int) Py_TabcheckFlag;
|
|||
PyAPI_DATA(int) Py_UnicodeFlag;
|
||||
PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
|
||||
PyAPI_DATA(int) Py_DivisionWarningFlag;
|
||||
PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
|
||||
/* _XXX Py_QnewFlag should go away in 3.0. It's true iff -Qnew is passed,
|
||||
on the command line, and is used in 2.2 by ceval.c to make all "/" divisions
|
||||
true divisions (which they will be in 3.0). */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue