[Python-Dev] PY_FORMAT_SIZE_T warnings on OS X

"Martin v. Löwis" martin at v.loewis.de
Wed Apr 26 18:16:43 CEST 2006


Brett Cannon wrote:
> I created patch 1474907 with a fix for it.  Checks if %zd works for
> size_t and if so sets PY_FORMAT_SIZE_T to "z", otherwise just doesn't
> set the macro def.
> 
> Assigned to Martin to make sure I didn't foul it up, but pretty much
> anyone could probably double-check it.

Unfortunately, SF stopped sending emails when you get assigned an issue,
so I didn't receive any message when you created that patch.

I now reviewed it, and think the test might not fail properly on systems
where %zd isn't supported.

Regards,
Martin


More information about the Python-Dev mailing list