[Python-checkins] r86179 - python/branches/py3k/Modules/gcmodule.c

antoine.pitrou python-checkins at python.org
Fri Nov 5 01:05:25 CET 2010


Author: antoine.pitrou
Date: Fri Nov  5 01:05:25 2010
New Revision: 86179

Log:
Issue #10279: fix test_gc under Win64.



Modified:
   python/branches/py3k/Modules/gcmodule.c

Modified: python/branches/py3k/Modules/gcmodule.c
==============================================================================
--- python/branches/py3k/Modules/gcmodule.c	(original)
+++ python/branches/py3k/Modules/gcmodule.c	Fri Nov  5 01:05:25 2010
@@ -1370,10 +1370,10 @@
         && garbage != NULL && PyList_GET_SIZE(garbage) > 0) {
         char *message;
         if (debug & DEBUG_UNCOLLECTABLE)
-            message = "gc: %" PY_FORMAT_SIZE_T "d uncollectable objects at " \
+            message = "gc: %zd uncollectable objects at " \
                 "shutdown";
         else
-            message = "gc: %" PY_FORMAT_SIZE_T "d uncollectable objects at " \
+            message = "gc: %zd uncollectable objects at " \
                 "shutdown; use gc.set_debug(gc.DEBUG_UNCOLLECTABLE) to list them";
         if (PyErr_WarnFormat(PyExc_ResourceWarning, 0, message,
                              PyList_GET_SIZE(garbage)) < 0)


More information about the Python-checkins mailing list