Akuli <akuviljane...@gmail.com> added the comment:
Forgot to mention: The correct fix IMO would be to return None when a KeyError occurs. This way code like `focus_get() == some_tkinter_widget` would always do the right thing, for example. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44592> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com