diff Misc/python.man @ 20401:b74610c92d8b legacy-trunk

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
author Guido van Rossum <guido@python.org>
date Fri, 12 Oct 2001 22:17:56 +0000
parents 8e6e248dfdd8
children e0ed68adba33
line wrap: on
line diff
--- a/Misc/python.man	Fri Oct 12 22:08:39 2001 +0000
+++ b/Misc/python.man	Fri Oct 12 22:17:56 2001 +0000
@@ -339,9 +339,14 @@
 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 @@
 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