Tim Peters wrote: > For gcc we _could_ solve it in the obvious way, which I guess Martin > was hoping to avoid: change Unixish config to detect whether the > platform C supports the "z" format modifier (I believe gcc does), and > if so arrange to stick > > #define PY_FORMAT_SIZE_T "z"
It's not gcc to support "z" (except for the compile-time check); it's the C library (on Unix, the C library is part of the system, not part of the compiler). But yes: if we could detect in configure that the C library supports %zd, then we should use that. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com