[Python-Dev] transitioning from % to {} formatting (original) (raw)
Brett Cannon brett at python.org
Wed Sep 30 20:12:02 CEST 2009
- Previous message: [Python-Dev] transitioning from % to {} formatting
- Next message: [Python-Dev] transitioning from % to {} formatting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Sep 30, 2009 at 05:29, Paul Moore <p.f.moore at gmail.com> wrote:
2009/9/30 Barry Warsaw <barry at python.org>:
Although I hate the name 'dicttemplate', this seems like the best solution to me. Maybe it's good that 'dicttemplate' is so ugly though so that people will naturally prefer 'format' :). But I like this because there's not really any magic, it's explicit, and the decision is made by the coder at the call site. The implementation does not need to guess at all. Ignoring the "make it ugly to persuade people not to use it" aspect, why not just use 'template'?
Might confuse people with string.Template.
-Brett
- Previous message: [Python-Dev] transitioning from % to {} formatting
- Next message: [Python-Dev] transitioning from % to {} formatting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]