[issue9583] Document startup option/environment interaction

Buck Golemon report at bugs.python.org
Tue Sep 21 04:20:28 CEST 2010


Buck Golemon <buck.golemon at amd.com> added the comment:

The file is here:
   http://svn.python.org/view/python/trunk/Python/pythonrun.c?view=markup

The second if statement is doing exactly what I find troubling: set the flag even if the incoming value is 0.
I guess this is to handle the empty string case, such as:

setenv PYTHONDEBUG
./myscript.py

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9583>
_______________________________________


More information about the Python-bugs-list mailing list