A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-January/059525.html below:

[Python-Dev] [Python-checkins] r41972 - python/branches/ssize_t/Objects/funcobject.c

[Python-Dev] [Python-checkins] r41972 - python/branches/ssize_t/Objects/funcobject.c [Python-Dev] [Python-checkins] r41972 - python/branches/ssize_t/Objects/funcobject.c"Martin v. Löwis" martin at v.loewis.de
Sun Jan 8 18:59:35 CET 2006
Tim Peters wrote:
> Yup.  Because the supporting PyString_FromFormatV() doesn't know
> anything about z qualifiers now, if you _tried_ to use %zd then even
> on a C99-platform PyString_FromFormatV() wouldn't do any conversions
> from that point on:  it would just copy the format string from the
> first "z" onward into the output buffer, and ignore the trailing
> inputs.  The good news is that we could teach it about "z" (but would
> still need a macro or some such to implement "z" correctly across
> platforms).

On VC7.1, we could use 'L', right? On other platforms, we could check
whether sizeof(size_t) is sizeof(long), and use 'l', else we could
refuse compilation (I doubt this would rule out any relevant system).

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4