[issue34595] PyUnicode_FromFormat(): add %T format for an object type name

STINNER Victor report at bugs.python.org
Thu Sep 6 05:29:05 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Oh, PyUnicode_FromFormat() has %A to format as ASCII, whereas printf() already has %A but for a different meaning:

   a, A   For a conversion, the double argument is converted to hexadecimal notation (using the letters abcdef) in the style [-]0xh.hhhhp+-; for A conversion the prefix  0X,  the  letters  ABCDEF, and the exponent separator P is used. (...)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34595>
_______________________________________


More information about the Python-bugs-list mailing list