[Python-checkins] python/dist/src/Lib/lib-tk Tkinter.py, 1.182, 1.183
gvanrossum@users.sourceforge.net
gvanrossum at users.sourceforge.net
Wed Jul 27 01:57:30 CEST 2005
- Previous message: [Python-checkins] python/nondist/sandbox/mailbox mailbox.py, NONE, 1.1 test_mailbox.py, NONE, 1.1 docs.tex, NONE, 1.1 libmailbox.tex, 1.1, 1.2
- Next message: [Python-checkins] python/dist/src/Misc NEWS,1.1323,1.1324
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17940
Modified Files:
Tkinter.py
Log Message:
Fix a problem in Tkinter introduced by SF patch #869468 (checked in as
1.179): delete bogus __hasattr__ and __delattr__ methods on class Tk
that were breaking Tkdnd.
Index: Tkinter.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/Tkinter.py,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- Tkinter.py 1 Mar 2005 08:09:27 -0000 1.182
+++ Tkinter.py 26 Jul 2005 23:57:27 -0000 1.183
@@ -1652,12 +1652,6 @@
def __getattr__(self, attr):
"Delegate attribute access to the interpreter object"
return getattr(self.tk, attr)
- def __hasattr__(self, attr):
- "Delegate attribute access to the interpreter object"
- return hasattr(self.tk, attr)
- def __delattr__(self, attr):
- "Delegate attribute access to the interpreter object"
- return delattr(self.tk, attr)
# Ideally, the classes Pack, Place and Grid disappear, the
# pack/place/grid methods are defined on the Widget class, and
- Previous message: [Python-checkins] python/nondist/sandbox/mailbox mailbox.py, NONE, 1.1 test_mailbox.py, NONE, 1.1 docs.tex, NONE, 1.1 libmailbox.tex, 1.1, 1.2
- Next message: [Python-checkins] python/dist/src/Misc NEWS,1.1323,1.1324
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list