This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients barry, rhettinger, vaultah
Date 2015-05-28.04:32:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432787547.95.0.00944330474936.issue24309@psf.upfronthosting.co.za>
In-reply-to
Content
> I came across this piece of code in Lib/string.py:146:

That may be artifact from the days of ASCII strings and may or may not have analog with the bytes data type.

> But I'm not exactly sure string.Template should be in 
> Python 3 at all.

It still has valid use cases (i.e. exposing safe templates to the end user).  And it has features that aren't present in new-style formatting.

Please learn an aversion to deprecating things (it almost never a good first reaction to seeing code in the standard library).  It almost always breaks someone's code and makes migrating to Python 3 more difficult.
History
Date User Action Args
2015-05-28 04:32:27rhettingersetrecipients: + rhettinger, barry, vaultah
2015-05-28 04:32:27rhettingersetmessageid: <1432787547.95.0.00944330474936.issue24309@psf.upfronthosting.co.za>
2015-05-28 04:32:27rhettingerlinkissue24309 messages
2015-05-28 04:32:27rhettingercreate