Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp> added the comment: Oh, I was late. I agree with msg94605.
printf("%I64d\n", 1I64 << 40); /* 1099511627776 */ So if PyErr_Format (actually, PyString_FromFormatV) will support PY_LONG_LONG, I think we can use same technique as PY_FORMAT_SIZE_T like #define PY_FORMAT_LONG_LONG "I64" /* On Windows */ #define PY_FORMAT_LONG_LONG "ll" /* On Unix */ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7228> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com