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

Paul Prescod paul@prescod.net
Mon, 25 Feb 2002 13:56:14 -0800


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

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

 Paul Prescod