diff -r 869cbcabb934 Modules/_tkinter.c --- a/Modules/_tkinter.c Sun Sep 01 19:06:35 2013 -0400 +++ b/Modules/_tkinter.c Mon Sep 02 17:57:13 2013 -0700 @@ -2814,7 +2814,7 @@ if (!PyArg_ParseTuple(args, ":interpaddr")) return NULL; - return PyInt_FromLong((long)Tkapp_Interp(self)); + return PyInt_FromSsize_t((Py_ssize_t)Tkapp_Interp(self)); } static PyObject *