Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Thank you Ali. It confirms my guess, but it is still not clear why we get a Tcl_Obj rather of None or empty string. Please examine what is the output of the following code: res = root.tk.call('wm', 'overrideredirect', root._w, True) print([res.typename]) print([res.string]) If the first print crashes comment out it. ---------- _______________________________________ 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