-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Dead code in tkinter #140494
Copy link
Copy link
Open
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-tkintertype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-tkintertype-refactorCode refactoring (with no changes in behavior)Code refactoring (with no changes in behavior)
Bug report
Bug description:
Modules/_tkinter.calways defines TCL_THREADS:but in two places in
Modules/_tkinter.c, we check if TCL_THREADS is defined:and
Especially the latter is confusing, as this code block is not compiled and the test is never executed.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs