[Python-checkins] devguide: Define what pydebug is.
brett.cannon
python-checkins at python.org
Tue Jan 4 21:19:48 CET 2011
brett.cannon pushed c787028dfeab to devguide:
http://hg.python.org/devguide/rev/c787028dfeab
changeset: 17:c787028dfeab
tag: tip
user: Brett Cannon <brett at python.org>
date: Tue Jan 04 12:19:41 2011 -0800
summary:
Define what pydebug is.
files:
setup.rst
diff --git a/setup.rst b/setup.rst
--- a/setup.rst
+++ b/setup.rst
@@ -81,7 +81,8 @@
CPython provides several compilation flags which help with debugging various
things. While all of the known flags can be in the ``Misc/SpecialBuilds.txt``
-file, the most critical one is the ``Py_DEBUG`` flag. This flag turns on
+file, the most critical one is the ``Py_DEBUG`` flag which creates what is
+known as a "pydebug" build. This flag turns on
various extra sanity checks which help catch common issues. You should always
develop under a pydebug build of CPython (only instance of when you shouldn't
is if you are taking performance measurements).
--
Repository URL: http://hg.python.org/devguide
More information about the Python-checkins
mailing list