Terry J. Reedy added the comment: I am asking because I noticed that every editor windows gets the same set of bindings set and destroyed, (as in the other part of the #24801 patch). Since events have a widget attribute, using bound methods with a self parameter is not necessary, so all the duplication seems redundant. But class_binding to Text is too broad. It there any way to register 'subclasses', similar to the way one can register style options as applying to a subset of, for instance, all Buttons?
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27262> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com