[Python-Dev] cpython: Use PY_FORMAT_SIZE_T because Visual Studio does not understand %zd format.

Serhiy Storchaka storchaka at gmail.com
Sat May 18 22:03:24 CEST 2013


18.05.13 23:00, Serhiy Storchaka написав(ла):
> 18.05.13 19:37, richard.oudkerk написав(ла):
>> http://hg.python.org/cpython/rev/0648e7fe7a72
>> changeset:   83829:0648e7fe7a72
>> user:        Richard Oudkerk <shibturn at gmail.com>
>> date:        Sat May 18 17:35:19 2013 +0100
>> summary:
>>    Use PY_FORMAT_SIZE_T because Visual Studio does not understand %zd
>> format.
>
> See also DEBUG_PRINT_FORMAT_SPEC() in Python/formatter_unicode.c,
> _PyDebugAllocatorStats() in Objects/obmalloc.c, and kqueue_event_repr()
> in Modules/selectmodule.c.

And _PyUnicode_Dump() in Objects/unicodeobject.c.



More information about the Python-Dev mailing list