[Python-checkins] devguide: Make it clear that *everyone* should run a pydebug build.

brett.cannon python-checkins at python.org
Sun Jan 23 21:18:51 CET 2011


brett.cannon pushed 0551a131ed96 to devguide:

http://hg.python.org/devguide/rev/0551a131ed96
changeset:   190:0551a131ed96
tag:         tip
user:        Brett Cannon <brett at python.org>
date:        Sun Jan 23 12:18:46 2011 -0800
summary:
  Make it clear that *everyone* should run a pydebug build.

files:
  setup.rst

diff --git a/setup.rst b/setup.rst
--- a/setup.rst
+++ b/setup.rst
@@ -60,9 +60,14 @@
 ``Misc/SpecialBuilds.txt``
 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
+various extra sanity checks which help catch common issues. The use of the flag
+is so common that turning on the flag is a basic compile option.
+
+You should always
 develop under a pydebug build of CPython (the only instance of when you
-shouldn't is if you are taking performance measurements).
+shouldn't is if you are taking performance measurements). Even when working
+only on pure Python code the pydebug build provides several useful checks that
+one should not skip.
 
 
 Build dependencies

--
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list