summaryrefslogtreecommitdiff
path: root/Tools/scripts/fixdiv.py
AgeCommit message (Collapse)AuthorLines
2010-03-11convert shebang lines: python -> python3Benjamin Peterson-1/+1
2008-05-16Ran 2to3 over scripts directory.Georg Brandl-1/+1
2007-08-03Convert print statements to function calls in Tools/.Collin Winter-24/+24
2007-01-10SF patch 1631942 by Collin Winter:Guido van Rossum-3/+3
(a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
2006-12-19Patch #1601678: move intern() to sys.intern().Georg Brandl-1/+1
2006-09-06Patch #1550800: make exec a function.Georg Brandl-1/+1
2003-10-20Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald-1/+1
(From SF patch #810751)
2003-05-13Fix use of 'file' as a variable name.Andrew M. Kuchling-8/+8
(I've tested the fixes, but please proofread anyway.)
2001-09-04- Reverse the meaning of the -m option: warnings about multiple /Guido van Rossum-35/+85
operators per line or statement are now on by default, and -m turns these warnings off. - Change the way multiple / operators are reported; a regular recommendation is always emitted after the warning. - Report ambiguous warnings (both int|long and float|complex used for the same operator). - Update the doc string again to clarify all this and describe the possible messages more precisely.
2001-09-04Whitespace normalization.Tim Peters-4/+4
2001-09-04PEP 238 documented -Qwarn as warning only for classic int or longGuido van Rossum-1/+1
division, and this makes sense. Add -Qwarnall to warn for all classic divisions, as required by the fixdiv.py tool.
2001-09-04Rename the -D option to -Q, to avoid a Jython option name conflict.Guido van Rossum-1/+1
2001-09-02Implement what the docstring said: multiple slashes per line areGuido van Rossum-15/+26
treated the same as single ones by default. Added -m option to issue a warning for this case instead.
2001-09-02Added more text to the docstring, updated the way the exit status isGuido van Rossum-31/+113
percolated out, and some general cleanup. The output is still the same, except it now prints "Index: <file>" instead of "Processing: <file>", so that the output can be used as input for patch (but only the diff-style parts of it).
2001-09-01The beginnings of a script to help finding / operators that may needGuido van Rossum-0/+237
to be change to //. The code is pretty gross so far, and I promise I'll work on this more, but I have to go eat now! :-)