[Python-Dev] PEP 215 redux: toward a simplified consensus?

Barry A. Warsaw barry@zope.com
Mon, 25 Feb 2002 17:01:25 -0500


>>>>> "PP" == Paul Prescod <paul@prescod.net> writes:

    PP> "Barry A. Warsaw" wrote:
    >>
    >> ...  Does anybody ever even use something other than `s' for
    >> %() strings?  >>> '%(float)f' % {'float': 3.9} '3.900000'

    PP> Presumably numerical analysts do....and David Ascher once told
    PP> me he uses %d as a sanity type-check. I don't bother.

%d I sometimes use, but I don't think I've ever (purposely) used
%(var)d.

-Barry