[Python-checkins] CVS: python/dist/src/Misc NEWS,1.236.2.1,1.236.2.2

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 07 Sep 2001 08:11:30 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv14607

Modified Files:
      Tag: r22a3-branch
	NEWS 
Log Message:
Update the section on -Q (add -Qwarnall and reference to fixdiv.py).


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.236.2.1
retrieving revision 1.236.2.2
diff -C2 -d -r1.236.2.1 -r1.236.2.2
*** NEWS	2001/09/07 15:03:05	1.236.2.1
--- NEWS	2001/09/07 15:11:27	1.236.2.2
***************
*** 38,49 ****
  - 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.
  
  - Many built-in types can now be subclassed.  This applies to int,
--- 38,51 ----
  - 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, -Qwarnall, 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 and long arguments; -Qwarnall
!   also warns about classic division for float and complex arguments
!   (for use with fixdiv.py).  Using -Qnew is questionable; it turns on
!   new division by default, but only in the __main__ module.  You can
!   usefully combine -Qwarn or -Qwarnall and -Qnew: this gives the
!   __main__ module new division, and warns about classic division
!   everywhere else.
  
  - Many built-in types can now be subclassed.  This applies to int,