[Python-Dev] Re: Re: Update PEP 292 (original) (raw)

Fredrik Lundh fredrik at pythonware.com
Wed Aug 11 21:16:58 CEST 2004


Barry Warsaw wrote:

I specifically designed it so that you could subclass from template, so as to accept the extended placeholder syntax (i.e. dots), and then implement a mapping-like class to do the lookups in any namespace you want.

on the other hand, to do that, you need to replace the pattern, and make sure that you have the same number of groups, with the same meaning. it's doable, but it's rather fragile.

two suggestions:



More information about the Python-Dev mailing list