[Python-Dev] Re: Alternative Implementation for PEP292:SimpleString Substitutions (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Sun Sep 5 10:26:28 CEST 2004
- Previous message: [Python-Dev] Alternative Implementation for PEP292:SimpleString Substitutions
- Next message: [Python-Dev] Re: Alternative Implementation for PEP292:SimpleString Substitutions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Barry wrote:
I'll point out that Template was very deliberately subclassed from unicode, so Template instances /are/ unicode objects. From the standpoint of type conversion, using /F's notation, T(8) == U, thus because U % 8 == U, T(8) % 8 == U.
from a user perspective, there's no reason to make templates a sub- class of unicode, so the rest of your argument is irrelevant.
instead of looking at use patterns, you're stuck defending the existing code. that's not a good way to design usable code.
- Previous message: [Python-Dev] Alternative Implementation for PEP292:SimpleString Substitutions
- Next message: [Python-Dev] Re: Alternative Implementation for PEP292:SimpleString Substitutions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]