[Python-Dev] *Simpler* string substitutions

Barry Scott barry@barrys-emacs.org
Thu, 20 Jun 2002 22:21:02 +0100

If I'm going to move from %(name)fmt to ${name} I need a place for
the fmt format. Given the error prone nature of %(name) should have
been %(name)s

Howabout adding the format inside the {} for example:


You can then have


$name and ${name} work as you have already decided. ${name:format} allows
the format to control the substitution.