Ronald Oussoren added the comment: The correct format string for Py_ssize_t with sprintf is "%"PY_FORMAT_SIZE_T"d" (defined and explained in pyport.h).
---------- nosy: +ronaldoussoren _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10744> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com