Terry J. Reedy added the comment: The new function should be private. I closed #18131 as partially a duplicate of this. It has a couple of other suggested wordings for the exception.
I consider the current behavior, in particular the failure of Variable and subclasses when the supposedly optional master is not passed, to be buggy. So I think backporting should be considered when we settle on a patch. ---------- nosy: +serhiy.storchaka title: New function in Tkinter.py: setup_master -> tkinter: add _get_master() and use it consistently _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4343> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com