Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
This is a Tk issue. Tkinter returns the same result as a plain Tk (unsurprisingly). $ rlwrap wish % winfo screenmmwidth . 1016 % winfo screenwidth . 3840 % puts [expr "25.4*[winfo screenwidth .]/[winfo screenmmwidth .]"] 96.0 ---------- resolution: -> third party stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34918> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com