Hi, snprintf() in VC 2010 had not supported "%zd" format. So we can not use it in PyOS_snprintf, PySys_WriteStdout, etc...
But VC supports "%zd" format since (at least) VC 2015. See https://docs.microsoft.com/en-us/cpp/c-runtime-library/format-specification-syntax-printf-and-wprintf-functions?view=vs-2015 "%zd" is standard C99 feature. Can we assume it is portable for now? Regards, -- Inada Naoki <[email protected]> _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/CAXKWESUIWJNJFLLXXWTQDUWTN3F7KOU/
