Tim Peters wrote: > We could use the "I" (capital letter eye) length modifier under VC7.1. > That's good for both size_t and ptrdiff_t formats under VC7.1, where > ptrdiff_t under VC7.1 is really the same concept as Py_ssize_t.
ptrdiff_t has the advantage of being available on all platforms, being part of C89 (IIRC). Should we use ptrdiff_t instead of Py_ssize_t? Formally, ptrdiff_t could be different from size_t (in width); reportedly, there are 8086 compilers which had a 16-bit size_t (maximum size of a segment), but a 32-bit ptrdiff_t (allowing for cross-segment differences, something that apparently became undefined in C99). 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