diff -r b75b4fdd62f8 Lib/tkinter/__init__.py --- a/Lib/tkinter/__init__.py Wed Jun 01 00:01:21 2016 -0500 +++ b/Lib/tkinter/__init__.py Thu Jun 02 00:06:00 2016 +0300 @@ -2113,6 +2113,7 @@ class BaseWidget(Misc): if self._name in self.master.children: self.master.children[self._name].destroy() self.master.children[self._name] = self + print(self.widgetName, self._w) def __init__(self, master, widgetName, cnf={}, kw={}, extra=()): """Construct a widget with the parent widget MASTER, a name WIDGETNAME and appropriate options."""