A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-September/092363.html below:

[Python-Dev] transitioning from % to {} formatting

[Python-Dev] transitioning from % to {} formatting [Python-Dev] transitioning from % to {} formattingPaul Moore p.f.moore at gmail.com
Wed Sep 30 14:29:11 CEST 2009
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'?

Paul
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4