Title: tkinter: The deprecated trace variable command was removed from Tk 9.0 - tkinter still uses it. · Issue #127802 · python/cpython · GitHub
Open Graph Title: tkinter: The deprecated trace variable command was removed from Tk 9.0 - tkinter still uses it. · Issue #127802 · python/cpython
X Title: tkinter: The deprecated trace variable command was removed from Tk 9.0 - tkinter still uses it. · Issue #127802 · python/cpython
Description: Bug report Bug description: The file tkinter/__init__.py contains the following code: def trace_variable(self, mode, callback): """Define a trace callback for the variable. MODE is one of "r", "w", "u" for read, write, undefine. CALLBACK...
Open Graph Description: Bug report Bug description: The file tkinter/__init__.py contains the following code: def trace_variable(self, mode, callback): """Define a trace callback for the variable. MODE is one of "r", "w",...
X Description: Bug report Bug description: The file tkinter/__init__.py contains the following code: def trace_variable(self, mode, callback): """Define a trace callback for the variable. MODE is o...
Opengraph URL: https://github.com/python/cpython/issues/127802
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tkinter: The deprecated trace variable command was removed from Tk 9.0 - tkinter still uses it. ","articleBody":"# Bug report\n\n### Bug description:\n\nThe file `tkinter/__init__.py` contains the following code:\n```\n def trace_variable(self, mode, callback):\n \"\"\"Define a trace callback for the variable.\n\n MODE is one of \"r\", \"w\", \"u\" for read, write, undefine.\n CALLBACK must be a function which is called when\n the variable is read, written or undefined.\n\n Return the name of the callback.\n\n This deprecated method wraps a deprecated Tcl method that will\n likely be removed in the future. Use trace_add() instead.\n \"\"\"\n # TODO: Add deprecation warning\n\n trace = trace_variable\n```\n\nThe deprecated Tcl method was removed from Tcl 9.0, before the deprecation warning was added in tkinter. The `trace_variable()` and `trace()` methods still exist in both the current `tkinter/__init__.py` and the replacement which was included in PR #124112. Calling those methods with Tk 9.0 raises a TclError.\n\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nmacOS","author":{"url":"https://github.com/culler","@type":"Person","name":"culler"},"datePublished":"2024-12-10T18:53:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/127802/cpython/issues/127802"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5208de48-dcfe-9c11-2334-8666c6cb40bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC5E:296AF5:212B3E3:2D87F58:696ABBAD |
| html-safe-nonce | 34ab6e237347d709eb87e97ac9f04aac3663d9eb6a2ec89d5fe41e169fed4697 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzVFOjI5NkFGNToyMTJCM0UzOjJEODdGNTg6Njk2QUJCQUQiLCJ2aXNpdG9yX2lkIjoiNDk4MzM4MDYwNzQ4MDAxOTg4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 273e89c235a7e2348ac24485a7eb3bab616427860503a16e3869950b59d4020a |
| hovercard-subject-tag | issue:2730936838 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/127802/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c0ce7ab4be46c771bbe512f2759c9cc60d46a4d87a71f317b8fa29985be1348b/python/cpython/issues/127802 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0ce7ab4be46c771bbe512f2759c9cc60d46a4d87a71f317b8fa29985be1348b/python/cpython/issues/127802 |
| og:image:alt | Bug report Bug description: The file tkinter/__init__.py contains the following code: def trace_variable(self, mode, callback): """Define a trace callback for the variable. MODE is one of "r", "w",... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | culler |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width