[Python-Dev] Re: Re: Update PEP 292

Michael Chermside mcherm at mcherm.com
Thu Aug 12 01:31:12 CEST 2004


Fredrik writes:
> - Consider changing the ${} to accept arbitrary patterns, instead of
>   just Python-style identifiers.  \${([^}]+)} should do the trick.

+1

And hey, I'd be +1 on releasing a less-simple template that allowed
arbitrary Python expressions (but no '}' characters) instead of just
identifiers. But that's another issue -- and my liking it doesn't
detract from my liking SIMPLE templates too.

As Barry said elsewhere... even if all it does is to replace '%()s'
with '${}' it's still an improvement.

-- Michael Chermside



More information about the Python-Dev mailing list