[Python-checkins] CVS: python/dist/src/Misc NEWS,1.225,1.226
Guido van Rossum
gvanrossum@users.sourceforge.net
Mon, 03 Sep 2001 20:25:47 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv4094
Modified Files:
NEWS
Log Message:
Rename the -D option to -Q, to avoid a Jython option name conflict.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.225
retrieving revision 1.226
diff -C2 -d -r1.225 -r1.226
*** NEWS 2001/09/03 08:35:40 1.225
--- NEWS 2001/09/04 03:25:44 1.226
***************
*** 33,44 ****
OverflowError exception.
! - A new command line option, -D<arg>, is added to control run-time
warnings for the use of classic division. (See PEP 238.) Possible
! values are -Dold, -Dwarn, and -Dnew. The default is -Dold, meaning
the / operator has its classic meaning and no warnings are issued.
! Using -Dwarn issues a run-time warning about all uses of classic
! division for int, long, float and complex arguments. Using -Dnew is
questionable; it turns on new division by default, but only in the
! __main__ module. You can usefully combine -Dwarn and -Dnew: this
gives the __main__ module new division, and warns about classic
division everywhere else.
--- 33,44 ----
OverflowError exception.
! - A new command line option, -Q<arg>, is added to control run-time
warnings for the use of classic division. (See PEP 238.) Possible
! values are -Qold, -Qwarn, and -Qnew. The default is -Qold, meaning
the / operator has its classic meaning and no warnings are issued.
! Using -Qwarn issues a run-time warning about all uses of classic
! division for int, long, float and complex arguments. Using -Qnew is
questionable; it turns on new division by default, but only in the
! __main__ module. You can usefully combine -Qwarn and -Qnew: this
gives the __main__ module new division, and warns about classic
division everywhere else.