[Python-Dev] Re: Is "%zd" format is portable now?
On Thu, Aug 1, 2019 at 10:21 PM Victor Stinner wrote:>> Hi INADA-san,>> Is it supported on macOS, FreeBSD, AIX, Android, etc.?>> My notes on platforms supported by Python:> https://pythondev.readthedocs.io/platforms.html>> For example, xlc C compiler seems to be commonly used on AIX. I do
[Python-Dev] Re: Is "%zd" format is portable now?
On 01Aug2019 15:14, Victor Stinner wrote: Is it supported on macOS, FreeBSD, AIX, Android, etc.? Looks like it is supported on MacOS 10.11.6 (El Capitan) here. "man 3 snprintf" lists the "z" modifier and says: The z modifier, when applied to a d or i conversion, indicates that the argumen
[Python-Dev] Collecting stories about beginning contribution
Hi everyone, (FYI, I'm cross-posting this from core-mentorship. If you'd like to reply, please do so there.) Following the recent discussion on core-mentorship about beginning contribution, the difficulties it entails and how to improve the situation, I'd like to start a process of improving the
[Python-Dev] Re: Is "%zd" format is portable now?
Hi INADA-san, Is it supported on macOS, FreeBSD, AIX, Android, etc.? My notes on platforms supported by Python: https://pythondev.readthedocs.io/platforms.html For example, xlc C compiler seems to be commonly used on AIX. I don't know how is its C99 support. Can we write an unit test somewhe
[Python-Dev] Is "%zd" format is portable now?
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?vi