mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
This commit is contained in:
parent
e93b63b74b
commit
e1040e276b
2 changed files with 4 additions and 1 deletions
|
|
@ -66,6 +66,9 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
|
||||
64-bit pointer to long (32 bits).
|
||||
|
||||
- Issue #18876: The FileIO.mode attribute now better reflects the actual mode
|
||||
under which the file was opened. Patch by Erik Bray.
|
||||
|
||||
|
|
|
|||
|
|
@ -2688,7 +2688,7 @@ Tkapp_InterpAddr(PyObject *self, PyObject *args)
|
|||
if (!PyArg_ParseTuple(args, ":interpaddr"))
|
||||
return NULL;
|
||||
|
||||
return PyLong_FromLong((long)Tkapp_Interp(self));
|
||||
return PyLong_FromVoidPtr(Tkapp_Interp(self));
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue