This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MrJean1
Recipients MrJean1, duaneb, riq
Date 2008-06-22.23:47:22
SpamBayes Score 0.00014819455
Marked as misclassified No
Message-id <1214178448.08.0.464737414598.issue2813@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is another patch for file Objects/stringobject.c(relative to 
Python 2.6b1) which supports the double %f and long double %LF formats.  

However, %Lf is included only if symbol  LDBL_DIG is defined in header 
file <float.h> on the underlying platform.

This patch also handles the long and size_t flags correctly in the first 
loop to determine the size of the buffer under
    ...
    case 'd': case 'u': case 'i': case 'x':
    ...

Btw, it does not make sense to handle float since there is not formnat 
specification for floats.
History
Date User Action Args
2008-06-22 23:47:28MrJean1setspambayes_score: 0.000148195 -> 0.00014819455
recipients: + MrJean1, duaneb, riq
2008-06-22 23:47:28MrJean1setspambayes_score: 0.000148195 -> 0.000148195
messageid: <1214178448.08.0.464737414598.issue2813@psf.upfronthosting.co.za>
2008-06-22 23:47:26MrJean1linkissue2813 messages
2008-06-22 23:47:26MrJean1create