summaryrefslogtreecommitdiffstats
path: root/Misc/python.man
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-12 22:17:56 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-12 22:17:56 (GMT)
commit9abaf4d3b78d756e4c0e30b7accb70e531dd9085 (patch)
treeaca9632a12b26f975e2df7977fadb696b9eced4a /Misc/python.man
parent1566a17af583cbda271950572c82869199aeb1f0 (diff)
downloadcpython-9abaf4d3b78d756e4c0e30b7accb70e531dd9085.zip
cpython-9abaf4d3b78d756e4c0e30b7accb70e531dd9085.tar.gz
cpython-9abaf4d3b78d756e4c0e30b7accb70e531dd9085.tar.bz2
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 'Misc/python.man')
-rw-r--r--Misc/python.man10
1 files changed, 8 insertions, 2 deletions
diff --git a/Misc/python.man b/Misc/python.man
index 6723e13..609c2ca 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -339,9 +339,14 @@ Set this to a non-empty string to cause the \fItime\fP module to
require dates specified as strings to include 4-digit years, otherwise
2-digit years are converted based on rules described in the \fItime\fP
module documnetation.
+.IP PYTHONOPTIMIZE
+If this is set to a non-empty string it is equivalent to specifying
+the \fB\-O\fP option. If set to an integer, it is equivalent to
+specifying \fB\-O\fP multiple times.
.IP PYTHONDEBUG
If this is set to a non-empty string it is equivalent to specifying
-the \fB\-d\fP option.
+the \fB\-d\fP option. If set to an integer, it is equivalent to
+specifying \fB\-d\fP multiple times.
.IP PYTHONINSPECT
If this is set to a non-empty string it is equivalent to specifying
the \fB\-i\fP option.
@@ -350,7 +355,8 @@ If this is set to a non-empty string it is equivalent to specifying
the \fB\-u\fP option.
.IP PYTHONVERBOSE
If this is set to a non-empty string it is equivalent to specifying
-the \fB\-v\fP option.
+the \fB\-v\fP option. If set to an integer, it is equivalent to
+specifying \fB\-v\fP multiple times.
.SH AUTHOR
.nf
Guido van Rossum