[Python-checkins] CVS: python/dist/src/Misc python.man,1.22,1.23
Guido van Rossum
gvanrossum@users.sourceforge.net
Fri, 12 Oct 2001 15:17:58 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv2490
Modified Files:
python.man
Log Message:
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
Index: python.man
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python.man,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** python.man 2001/09/05 18:57:51 1.22
--- python.man 2001/10/12 22:17:56 1.23
***************
*** 340,346 ****
2-digit years are converted based on rules described in the \fItime\fP
module documnetation.
.IP PYTHONDEBUG
If this is set to a non-empty string it is equivalent to specifying
! the \fB\-d\fP option.
.IP PYTHONINSPECT
If this is set to a non-empty string it is equivalent to specifying
--- 340,351 ----
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. 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
***************
*** 351,355 ****
.IP PYTHONVERBOSE
If this is set to a non-empty string it is equivalent to specifying
! the \fB\-v\fP option.
.SH AUTHOR
.nf
--- 356,361 ----
.IP PYTHONVERBOSE
If this is set to a non-empty string it is equivalent to specifying
! the \fB\-v\fP option. If set to an integer, it is equivalent to
! specifying \fB\-v\fP multiple times.
.SH AUTHOR
.nf