[Python-Dev] VERBOSE and DEBUG conventions.

Guido van Rossum guido@python.org
Wed, 23 Jan 2002 13:01:14 -0500


> [Steven Majewski]
> > Py_DebugFlag is used for debugging the Python parser.
> 
> If Guido had it to do over again, I suspect he'd put that code in #ifdef
> Py_DEBUG blocks instead.

Yes and no.  Some of it *is* already only inside #ifdef Py_DEBUG (see
parser.c); but it still requires a command line flag because the
output is too much to bear in a regular debugging run...

--Guido van Rossum (home page: http://www.python.org/~guido/)