summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/eqfix.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-3/+3
| | | | | | | | | | | | | | | | | | | | 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.
* Add 'if __name__ == "__main__":' to files already as a usable as a module.Johannes Gijsbers2004-09-111-2/+2
|
* Whitespace normalization. Ran reindent.py over the entire source tree.Tim Peters2004-07-181-142/+142
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-10/+9
| | | | From SF patch #852334.
* /usr/local/bin/python -> /usr/bin/env pythonGuido van Rossum1996-11-271-1/+1
|
* remove references to /ufs/guido/bin/sgi/pythonGuido van Rossum1994-01-071-1/+0
|
* MicrofixesGuido van Rossum1993-04-011-2/+2
|
* change posix to os and path to os.pathGuido van Rossum1992-03-301-19/+18
|
* Check for binaries and non-python scripts.Guido van Rossum1992-03-021-0/+18
|
* Tokenizing version (see lib/tokenize.py).Guido van Rossum1992-01-011-22/+37
|
* Initial revisionGuido van Rossum1992-01-011-0/+168