Message244263
> 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. |
|
Date |
User |
Action |
Args |
2015-05-28 04:32:27 | rhettinger | set | recipients:
+ rhettinger, barry, vaultah |
2015-05-28 04:32:27 | rhettinger | set | messageid: <1432787547.95.0.00944330474936.issue24309@psf.upfronthosting.co.za> |
2015-05-28 04:32:27 | rhettinger | link | issue24309 messages |
2015-05-28 04:32:27 | rhettinger | create | |
|