summaryrefslogtreecommitdiff
path: root/Include/pydebug.h
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-07 17:09:35 +0000
committerGeorg Brandl <georg@python.org>2008-01-07 17:09:35 +0000
commit3e00689e7a4db823206317b9027b809faaab1e7f (patch)
tree4481095cddf6893ec49123477d1f20a0682b6825 /Include/pydebug.h
parentf9307f8707dfa32fc15e67617794bd0ef3dacb0a (diff)
downloadcpython-3e00689e7a4db823206317b9027b809faaab1e7f.tar.gz
Patch #602345 by Neal Norwitz and me: add -B option and PYTHONDONTWRITEBYTECODE envvar to skip writing bytecode.
Diffstat (limited to 'Include/pydebug.h')
-rw-r--r--Include/pydebug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pydebug.h b/Include/pydebug.h
index 3282dc10ec..1d24853191 100644
--- a/Include/pydebug.h
+++ b/Include/pydebug.h
@@ -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). */