diff options
author | Guido van Rossum <guido@python.org> | 2001-10-12 22:17:56 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-12 22:17:56 +0000 |
commit | 9abaf4d3b78d756e4c0e30b7accb70e531dd9085 (patch) | |
tree | aca9632a12b26f975e2df7977fadb696b9eced4a /Python/pystate.c | |
parent | 1566a17af583cbda271950572c82869199aeb1f0 (diff) | |
download | cpython-git-9abaf4d3b78d756e4c0e30b7accb70e531dd9085.tar.gz |
SF patch #467455 : Enhanced environment variables, by Toby Dickenson.
This patch changes to logic to:
if env.var. set and non-empty:
if env.var. is an integer:
set flag to that integer
if flag is zero: # [actually, <= 0 --GvR]
set flag to 1
Under this patch, anyone currently using
PYTHONVERBOSE=yes will get the same output as before.
PYTHONVERBNOSE=2 will generate more verbosity than
before.
The only unusual case that the following three are
still all equivalent:
PYTHONVERBOSE=yespleas
PYTHONVERBOSE=1
PYTHONVERBOSE=0
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions