[issue2813] No float formatting in PyString_FromFormat

Jean Brouwers report at bugs.python.org
Tue Jun 24 17:47:18 CEST 2008


Jean Brouwers <MrJean1 at Gmail.com> added the comment:

Here is another patch for PyString_FromFormat* adding support for 'l' and 
'z' type specifications for the '%x' format and an optional '#' to prepend 
'0x' to the hex result.  In addition, the '%p' format is handled as '%#x'.

Updates for the c-api tests and the documentation for exceptions and 
string are also included in the patch.

Like before, the patch is a forward delta to the files of Python 2.6b1.

Added file: http://bugs.python.org/file10720/stringobject_format_xLf.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2813>
_______________________________________


More information about the Python-bugs-list mailing list