summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/classfix.py
Commit message (Collapse)AuthorAgeFilesLines
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-6/+6
| | | | | | (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
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-6/+6
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* [Patch #1005491 ] use __name__ == '__main__' in scriptsAndrew M. Kuchling2004-08-091-1/+2
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-10/+9
| | | | From SF patch #852334.
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-111-4/+2
| | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
* Hand repair of cases where reindent changed lines of the formTim Peters2001-01-171-1/+1
| | | | | | | | | | | \t\t\t\t\treal code ##\t\t\t\t\tunused code \t\t\t\t\treal code via untabifying and shifting the real code left. Semantically the same but made the intent of the commented-out-in-column-0 unused code unclear. The exact same unused code appears to have gotten copied from file to file over the years.
* Whitespace normalization.Tim Peters2001-01-171-131/+131
|
* /usr/local/bin/python -> /usr/bin/env pythonGuido van Rossum1996-11-271-1/+1
|
* Note obsolescenceGuido van Rossum1996-09-111-1/+5
|
* remove references to /ufs/guido/bin/sgi/pythonGuido van Rossum1994-01-071-1/+0
|
* Fix bug when reporting errorGuido van Rossum1992-12-101-2/+2
|
* change posix to os and path to os.pathGuido van Rossum1992-03-301-19/+18
|
* Cosmetic change.Guido van Rossum1992-01-011-5/+6
|
* Use new, more generic structure for *fix.py scripts.Guido van Rossum1992-01-011-58/+90
|
* Fix bogus mode mask.Guido van Rossum1991-12-261-1/+1
|
* Initial revisionGuido van Rossum1991-12-261-0/+157