-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
gh-140001: Remove obsolete TCL_WIN_SOCKET macro (from Tcl 7.x) from _tkinter.c #139998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
|
Please open an issue and link the Tcl documentation as well; TiA. |
|
See https://www.tcl-lang.org/man/tcl7.6/TclLib/GetFile.3.html for a description of these macros in Tcl 7.6. See These macros are not defined in |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not WAIT_FOR_STDIN be removed too?
|
|
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
Pull request #140147 removes WAIT_FOR_STDIN as well as much of the Windows-specific code in |
The macro
TCL_WIN_SOCKETused inModules/_tkinter.cis a Tcl 7.x legacy macro that is no longer defined in Tcl ≥ 8.0.As Python now requires Tcl 8.5.12, the code path is now unreachable, and can safely be removed.
The macro
FHANDLETYPEdefined inModules/_tkinter.cthen always evaluates toTCL_UNIX_FD, and can also be removed.