[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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant