Skip to content

Commit 0c268a6

Browse files
committed
Clarify expected Tk ZIP mount failures
1 parent baaa534 commit 0c268a6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/_tkinter.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ mount_tk_dll_zip(void)
210210

211211
Tcl_DStringInit(&utf8_path);
212212
Tcl_WCharToUtfDString(tk_path, path_len, &utf8_path);
213+
/* Failure is harmless if the DLL has no embedded ZIP or if another
214+
interpreter has already mounted it. */
213215
(void) TclZipfs_Mount(NULL, Tcl_DStringValue(&utf8_path),
214216
"//zipfs:/lib/tk", NULL);
215217
Tcl_DStringFree(&utf8_path);

0 commit comments

Comments
 (0)