gh-103532: Remove TKINTER_PROTECT_LOADTK code (GH-103535)

This was only needed for Tk 8.4.13 and older,
but Tkinter already requires at least 8.5.12.
This commit is contained in:
Christopher Chavez 2023-04-14 09:04:16 -05:00 committed by GitHub
parent be8903eb9d
commit 69e2c42f42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 79 deletions

View file

@ -16,12 +16,4 @@
(TK_RELEASE_LEVEL << 8) | \
(TK_RELEASE_SERIAL << 0))
/* Protect Tk 8.4.13 and older from a deadlock that happens when trying
* to load tk after a failed attempt. */
#if TK_HEX_VERSION < 0x0804020e
#define TKINTER_PROTECT_LOADTK
#define TKINTER_LOADTK_ERRMSG \
"Calling Tk_Init again after a previous call failed might deadlock"
#endif
#endif /* !TKINTER_H */