Commit Graph

14 Commits

Author SHA1 Message Date
Benjamin Peterson 90f5ba538b convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
Collin Winter 6f2df4d5e1 Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements. 2007-07-17 20:59:35 +00:00
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter:
(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
2007-01-10 16:19:56 +00:00
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
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.
2006-04-21 10:40:58 +00:00
Johannes Gijsbers 7a8c43ee6a Add 'if __name__ == "__main__":' to files already as a usable as a module. 2004-09-11 16:34:35 +00:00
Tim Peters e6ddc8b20b Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum a635b9a6ff remove references to /ufs/guido/bin/sgi/python 1994-01-07 11:43:11 +00:00
Guido van Rossum d5c57e1624 Microfixes 1993-04-01 20:46:40 +00:00
Guido van Rossum b2ac8092a8 change posix to os and path to os.path 1992-03-30 11:12:23 +00:00
Guido van Rossum becdad3d5e Check for binaries and non-python scripts. 1992-03-02 16:18:31 +00:00
Guido van Rossum 318a91c3f2 Tokenizing version (see lib/tokenize.py). 1992-01-01 19:22:25 +00:00
Guido van Rossum 0af9a283a1 Initial revision 1992-01-01 18:38:21 +00:00