Commit Graph

13 Commits

Author SHA1 Message Date
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
Neal Norwitz d91085598f Remove apply() 2006-03-17 08:00:19 +00:00
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Guido van Rossum 89cb67bb64 Updated for Python 1.4 1996-07-30 18:57:18 +00:00
Jack Jansen 10d0f8fc40 Renamed module tkinter to _tkinter 1995-10-23 14:36:05 +00:00
Guido van Rossum 69428f1fb3 improve fonts; Tk 4.0 aware 1995-09-07 19:46:43 +00:00
Guido van Rossum c618ed9868 Use disabled state to enforce read-only state (bit painful since it means
switching states each time we insert some text but has to be done this way
since else class bindings might allow editing...)
1994-07-12 09:00:42 +00:00
Guido van Rossum 7d5e4217ef Rewritten somewhat again, distinguished between internal and external
methods (internal ones start with '_'), asynchronous transfers are now
killed synchronously (i.e. after t.kill(), t.busy() is false immediately).
1994-07-08 14:15:05 +00:00
Guido van Rossum 9755b26fa9 Always insert at 'end' 1994-07-08 09:17:26 +00:00
Guido van Rossum fdfa2b5136 parsefile() now calls self.update() while filling the buffer,
so you can read the top of the man page while the rest is being parsed
1994-07-08 09:14:54 +00:00
Guido van Rossum 72cb020b19 Don't use self.text -- it's self now! 1994-07-06 21:53:18 +00:00
Guido van Rossum f09b770f68 Initial revision 1994-07-06 21:17:21 +00:00