|
Meta tags:
description=When a Tcl command running its own event loop (such as vwait or
wait_variable) was active and the user typed input on stdin, the event
loop kept spinning at 100% CPU. The stdin file handler is now removed as
soon as input becomes available.
Also fix gh-139816: an exception raised in a callback no longer stops the
event loop to wait for Enter on a Python built without readline; pending
callbacks keep running until input is actually available on stdin.
(cherry picked from commit 3ffda34)
Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: mdehoon mjldehoon@yahoo.com
Co-authored-by: Christopher Chavez chrischavez@gmx.us
Co-authored-by: Claude Opus 4.8 noreply@anthropic.com
Issue: gh-139145;
Headings (most frequently used words):
gh, uh, oh, navigation, 14, 139145, fix, tkinter, event, loop, in, interactive, mode, 152257, 152292, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,
Text of the page (most frequently used words):
file (26), the (19), github (16), and (16), this (14), line (12), that (11), applied (11), all (10), loop (10), for (10), 2026 (9), while (9), reload (9), event (9), show (9), hidden (9), characters (9), unicode (9), tfile (8), diff (8), issue (8), you (7), suggestion (7), cannot (7), suggestions (7), code (7), changes (7), loading (7), open (7), rst (7), 139145 (7), sign (7), there (6), errorincmd (6), input (6), stdin (6), number (6), bidirectional (6), fix (6), tkinter (6), interactive (6), next (6), security (5), please (5), comments (5), commit (5), was (5), stdin_ready (5), void (5), int (5), learn (5), about (5), view (5), python (5), misc (5), news (5), library (5), your (5), can (4), now (4), pull (4), change (4), error (4), page (4), expand (4), excincmd (4), than (4), below (4), what (4), review (4), more (4), files (4), mode (4), 152257 (4), support (4), copilot (4), not (3), community (3), navigation (3), request (3), from (3), add (3), batch (3), one (3), retry (3), null (3), endif (3), tcl_deletefilehandler (3), ms_windows (3), keep (3), myfileproc (3), available (3), original (3), contains (3), text (3), may (3), interpreted (3), compiled (3), differently (3), appears (3), editor (3), reveals (3), desktop (3), delete (3), edit (3), modules (3), _tkinter (3), additions (3), deletions (3), mod (3), 139816 (3), lq2vxa (3), kt9rmp (3), hide (3), whitespace (3), filter (3), commits (3), 152292 (3), merged (3), account (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), contact (2), status (2), privacy (2), terms (2), footer (2), later (2), pending (2), single (2), viewing (2), toggle (2), pyerr_print (2), pyerr_setraisedexception (2), ifndef (2), result (2), until (2), user (2), enter (2), callbacks (2), returning (2), here (2), without (2), readline (2), exception (2), raised (2), callback (2), events (2), eventhook (2), py_intptr_t (2), tcl_createfilehandler (2), tcl_readable (2), spinning (2), 100 (2), cpu (2), wait_variable (2), stop (2), clientdata (2), static (2), 3392 (2), running (2), its (2), selected (2), apply (2), split (2), unified (2), failed (2), load (2), jump (2), nbsp (2), extension (2), serhiy (2), storchaka (2), jun (2), tree (2), miss (2), islington (2), insights (2), projects (2), actions (2), repository (2), cpython (2), signed (2), with (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, docs, inc, right, check, back, queued, merge, multi, reviews, has, been, marked, resolved, outdated, must, existing, order, create, valid, applying, deleted, lines, supported, only, per, subset, closed, invalid, because, were, made, annotations, notes, oops, something, went, wrong, down, return, pyeval_savethread, break, hits, freezing, waiting, yet, would, block, fgets, instead, prompt, report, but, pumping, py_end_allow_threads, sleep, tkinter_busywaitinterval, 3431, 3438, _kbhit, ifdef, fileno, 3409, 3415, started, does, waking, same, unread, after, ensures, nested, watching, doing, rather, mask, actually, wait, press, longer, causes, hang, built, patch, michiel, hoon, handler, removed, soon, based, active, arrived, kept, own, such, vwait, meth, busy, when, tcl, command, are, conversations, clear, filters, viewed, types, b70dfe2, select, changed, checks, conversation, into, backport, 3ffda34, already, clicking, agree, our, occasionally, send, related, emails, statement, service, free, maintainers, have, question, project, new, items, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, talks, workshops, partners, company, forum, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, platform, menu, skip, content,
|