mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
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:
parent
be8903eb9d
commit
69e2c42f42
3 changed files with 0 additions and 79 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue