[issue24309] string.Template should be using str.format and/or deprecated

Serhiy Storchaka report at bugs.python.org
Thu May 28 06:46:04 CEST 2015


Serhiy Storchaka added the comment:

I'm strongly -1 for deprecating string.Template. It provides simple, widely used syntax, and is used in a lot of third-party code. I don't think that it needs to be extended.

However I have an idea about implementing general string composing engine than could be reused with different frontends in str.format, str.__mod__, string.Template, re.sub, and third-part template engines. Perhaps I'll try to implement it in 3.6.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24309>
_______________________________________


More information about the Python-bugs-list mailing list