[Python-checkins] CVS: python/dist/src/Tools/scripts fixdiv.py,1.4,1.5

Guido van Rossum gvanrossum@users.sourceforge.net
Mon, 03 Sep 2001 20:51:11 -0700


Update of /cvsroot/python/python/dist/src/Tools/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv8557

Modified Files:
	fixdiv.py 
Log Message:
PEP 238 documented -Qwarn as warning only for classic int or long
division, and this makes sense.  Add -Qwarnall to warn for all
classic divisions, as required by the fixdiv.py tool.


Index: fixdiv.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/scripts/fixdiv.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** fixdiv.py	2001/09/04 03:26:15	1.4
--- fixdiv.py	2001/09/04 03:51:09	1.5
***************
*** 3,7 ****
  """fixdiv - tool to fix division operators.
  
! To use this tool, first run `python -Qwarn yourscript.py 2>warnings'.
  This runs the script `yourscript.py' while writing warning messages
  about all uses of the classic division operator to the file
--- 3,7 ----
  """fixdiv - tool to fix division operators.
  
! To use this tool, first run `python -Qwarnall yourscript.py 2>warnings'.
  This runs the script `yourscript.py' while writing warning messages
  about all uses of the classic division operator to the file