diff Python/pystate.c @ 44099:f324631462a2

Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
author Christian Heimes <christian@cheimes.de>
date Sun, 02 Dec 2007 14:31:20 +0000
parents cd125fe83051
children ed33da2e74e7
line wrap: on
line diff
--- a/Python/pystate.c	Sun Dec 02 09:40:06 2007 +0000
+++ b/Python/pystate.c	Sun Dec 02 14:31:20 2007 +0000
@@ -445,7 +445,7 @@
 			struct _frame *frame = t->frame;
 			if (frame == NULL)
 				continue;
-			id = PyInt_FromLong(t->thread_id);
+			id = PyLong_FromLong(t->thread_id);
 			if (id == NULL)
 				goto Fail;
 			stat = PyDict_SetItem(result, id, (PyObject *)frame);