Commit 49a4b68b authored by Guido van Rossum's avatar Guido van Rossum

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.
parent 8321b42f
......@@ -1652,12 +1652,6 @@ class Tk(Misc, Wm):
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
......
......@@ -12,6 +12,10 @@ What's New in Python 2.5 alpha 1?
Core and builtins
-----------------
- Fix a problem in Tkinter introduced by SF patch #869468: delete bogus
__hasattr__ and __delattr__ methods on class Tk that were breaking
Tkdnd.
- SF bug #1238681: freed pointer is used in longobject.c:long_pow().
- SF bug #1229429: PyObject_CallMethod failed to decrement some
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment