[Python-Dev] Re: Re: Update PEP 292 (original) (raw)
Michael Chermside mcherm at mcherm.com
Thu Aug 12 01:31:12 CEST 2004
- Previous message: [Python-Dev] Decorator keyword possibility?
- Next message: [Python-Dev] Error in Python Tutorial on Multiple Inheritence
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Decorator keyword possibility?
- Next message: [Python-Dev] Error in Python Tutorial on Multiple Inheritence
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]