A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/065004.html below:

[Python-Dev] Py_ssize_t formatting

[Python-Dev] Py_ssize_t formatting [Python-Dev] Py_ssize_t formattingTim Peters tim.peters at gmail.com
Sun May 14 01:28:39 CEST 2006
[Neal]
>> Looking in stringobject.c, I don't see how %zu (or %lu) can be used
>> with String_FromFormatV.

[Martin]
> Right. It currently cannot be used. So if it is desired, it needs to
> be added first, and then should be used.

I added it:  %u, %lu, and %zu can be used now in PyString_FromFormat,
PyErr_Format, and PyString_FromFormatV.

Since PyString_FromFormat and PyErr_Format have exactly the same rules
(both inherited from PyString_FromFormatV), but their docs were way
out of synch, it would be good if someone with more LaTeX Fu changed
one of them to just point to the other.  I simply did a massive
copy+paste job to get them in synch again.
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