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.
1 parent e93b63b commit e1040e2Copy full SHA for e1040e2
2 files changed
Misc/NEWS
@@ -66,6 +66,9 @@ Core and Builtins
66
Library
67
-------
68
69
+- Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
70
+ 64-bit pointer to long (32 bits).
71
+
72
- Issue #18876: The FileIO.mode attribute now better reflects the actual mode
73
under which the file was opened. Patch by Erik Bray.
74
Modules/_tkinter.c
@@ -2688,7 +2688,7 @@ Tkapp_InterpAddr(PyObject *self, PyObject *args)
2688
if (!PyArg_ParseTuple(args, ":interpaddr"))
2689
return NULL;
2690
2691
- return PyLong_FromLong((long)Tkapp_Interp(self));
+ return PyLong_FromVoidPtr(Tkapp_Interp(self));
2692
}
2693
2694
static PyObject *
0 commit comments