GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — tkinter events not working since Python 3.14 w/ Tk 9.0 · Issue #141237 · python/cpython Closed Labels extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:Hey everyone, I tried updating an application that uses tkinter from Python 3.12 to 3.14, however it stopped working. After spending some time debugging and testing I found that 3.13 works fine, but ultimately it stops working with 3.14, probably because of the upgrade to TCL/TK 9.0. import threading import time import queue from tkinter import * ws = Tk() ws.geometry("200x200") comque= queue.Queue() def timeThread(): prestime = 0 while 1: comque.put(prestime) try: ws.event_generate('<<TimeChanged>>', when='tail') except TclError: break time.sleep(1) prestime += 1 clcvar = IntVar() Label(ws, textvariable=clcvar, width=9).pack(pady=10) def timeChanged(event): clcvar.set(comque.get()) ws.bind('<<TimeChanged>>', timeChanged) Thr=threading.Thread(target=timeThread) Thr.start() ws.mainloop() Thanks in advance! CPython versions tested on:3.14 Operating systems tested on:Linux Activity
MetadataMetadataAssigneesLabelsextension-modulesC modules in the Modules dirC modules in the Modules dirtopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |