[Python-Dev] Alternative Implementation for PEP 292: Simple
aahz at pythoncraft.com
Sat Aug 28 01:39:58 CEST 2004
On Fri, Aug 27, 2004, Raymond Hettinger wrote:
> When application is remote from instantiation (for instance, when a
> template argument is supplied to a function), we get several problems.
> Given a line like "r = t % m", it is hard to verify that the code is
> correct. Should there be KeyError trapping? Can m be a tuple? Is t a
> %template, a safetemplate, or dollartemplate? Is the result a str or
> Unicode object? Should the decision of safe vs regular substitution be
> made at the point of instantiation or application?
All right, this moves me to +1, in the absence of any good arguments in
favor of keeping the class-based system.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"To me vi is Zen. To use vi is to practice zen. Every command is a
koan. Profound to the user, unintelligible to the uninitiated. You
discover truth everytime you use it." --reddy at lion.austin.ibm.com
More information about the Python-Dev