This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Take into acount a Tcl interpreter when compare variables and fonts
Type: behavior Stage: resolved
Components: Library (Lib), Tkinter Versions: Python 3.10, Python 3.9, Python 3.8
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: miss-islington, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2020-12-27 20:16 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23968 merged serhiy.storchaka, 2020-12-27 20:21
PR 23991 merged miss-islington, 2020-12-29 10:57
PR 24026 merged serhiy.storchaka, 2020-12-31 13:01
Messages (4)
msg383860 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-12-27 20:16
Currently instances of tkinter.Variable and tkinter.font.Font are considered equal when they have the same name even if they belong to different Tcl interpreters. But Tcl interpreters are isolated, and variables and fonts in different interpreters refer to different things.

There is note in the docstring of tkinter.Variable.__eq__ about taking into account master. The following PR fixes this omission.
msg383976 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-12-29 10:56
New changeset 1df56bc0597a051c13d53514e120e9b6764185f8 by Serhiy Storchaka in branch 'master':
bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968)
msg383979 - (view) Author: miss-islington (miss-islington) Date: 2020-12-29 11:18
New changeset 578caafabe1de652a8f31dbeb8cc660e1ed725eb by Miss Islington (bot) in branch '3.9':
bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968)
msg384187 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-01-01 17:39
New changeset e3a9adba329681b1b73b7223515e71e94fc35e12 by Serhiy Storchaka in branch '3.8':
[3.8] bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968) (GH-24026)
Date User Action Args
2022-04-11 14:59:39adminsetgithub: 86925
2021-01-01 20:50:36serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-01-01 17:39:44serhiy.storchakasetmessages: + msg384187
2020-12-31 13:01:22serhiy.storchakasetpull_requests: + pull_request22866
2020-12-29 11:18:30miss-islingtonsetmessages: + msg383979
2020-12-29 10:57:10miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request22833
2020-12-29 10:56:58serhiy.storchakasetmessages: + msg383976
2020-12-27 20:21:47serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request22813
2020-12-27 20:16:59serhiy.storchakacreate