[Python-checkins] python/dist/src/Modules _tkinter.c,1.167,1.168
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Sat Nov 13 12:13:37 CET 2004
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6575/Modules
Modified Files:
_tkinter.c
Log Message:
Patch #1050475: Fix various x86_64 build issues
regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems.
_tkinter.c: replace %.8x with %p for printing pointers.
setup.py: add lib64 into the library directories.
Index: _tkinter.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_tkinter.c,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- _tkinter.c 4 Aug 2004 02:16:48 -0000 1.167
+++ _tkinter.c 13 Nov 2004 11:13:35 -0000 1.168
@@ -805,8 +805,8 @@
PyTclObject_repr(PyTclObject *self)
{
char buf[50];
- PyOS_snprintf(buf, 50, "<%s object at 0x%.8x>",
- self->value->typePtr->name, (int)self->value);
+ PyOS_snprintf(buf, 50, "<%s object at %p>",
+ self->value->typePtr->name, self->value);
return PyString_FromString(buf);
}
More information about the Python-checkins
mailing list