Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
It looks like a bug in Tk 8.6.11. It is expected that the implementation of "wm overrideredirect" returns an empty string if pass the boolean argument. The returned value is an empty string, but its type is not cleared. Seems it keeps the type of previous result. I think that we can add a workaround for this bug, although it may be inconvenient to test it. Do we still use Tk 8.6.11 on any platform with Python 3.9+? Note that Python 3.8 only takes security fixes, so any changes can only be made in 3.9+. ---------- nosy: +epaine, terry.reedy _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45957> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com