[Python-checkins] CVS: python/dist/src/Misc NEWS,1.236,1.237

Barry Warsaw bwarsaw@users.sourceforge.net
Fri, 07 Sep 2001 11:13:46 -0700


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

Modified Files:
	NEWS 
Log Message:
Merging 2.2a3 branch changes back into trunk


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.236
retrieving revision 1.237
diff -C2 -d -r1.236 -r1.237
*** NEWS	2001/09/06 22:02:58	1.236
--- NEWS	2001/09/07 18:13:44	1.237
***************
*** 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,
***************
*** 115,119 ****
--- 117,129 ----
  Tools
  
+ - Tools/scripts/fixdiv.py has been added which can be used to fix
+   division operators as per PEP 238.
+ 
  Build
+ 
+ - If you are an adventurous person using Mac OS X you may want to look at
+   Mac/OSX. There is a Makefile there that will build Python as a real Mac
+   application, which can be used for experimenting with Carbon or Cocoa.
+   Discussion of this on pythonmac-sig, please.
  
  C API