Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e619427 + e1040e2 commit 555e57dCopy full SHA for 555e57d
2 files changed
Misc/NEWS
@@ -54,6 +54,9 @@ Core and Builtins
54
Library
55
-------
56
57
+- Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
58
+ 64-bit pointer to long (32 bits).
59
+
60
- Issue #18876: The FileIO.mode attribute now better reflects the actual mode
61
under which the file was opened. Patch by Erik Bray.
62
Modules/_tkinter.c
@@ -2462,7 +2462,7 @@ Tkapp_InterpAddr(PyObject *self, PyObject *args)
2462
if (!PyArg_ParseTuple(args, ":interpaddr"))
2463
return NULL;
2464
2465
- return PyLong_FromLong((long)Tkapp_Interp(self));
+ return PyLong_FromVoidPtr(Tkapp_Interp(self));
2466
}
2467
2468
static PyObject *
0 commit comments