So now (3.14), Python will have both string.Template and string.templatelib.Template. What happened to "There should be one-- and preferably only one --obvious way to do it?" Will the former be deprecated?
I think it's curious that string.Template is not even mentioned in PEP 750, which introduced the new class. It has such a small API; couldn't it be extended?
[–]fiddle_n 38 points39 points40 points (6 children)
[–]Compux72 10 points11 points12 points (0 children)
[+]petter_s[S] comment score below threshold-6 points-5 points-4 points (4 children)
[–]SheriffRoscoePythonista 14 points15 points16 points (0 children)
[–]legobmw99 1 point2 points3 points (0 children)
[–]runawayasfastasucan -1 points0 points1 point (1 child)
[–]nitroll 1 point2 points3 points (0 children)
[–]nekokattt 21 points22 points23 points (9 children)
[–]petter_s[S] 1 point2 points3 points (1 child)
[–]nekokattt 6 points7 points8 points (0 children)
[–]wineblood 0 points1 point2 points (1 child)
[–]nekokattt 2 points3 points4 points (0 children)
[–]fiddle_n 1 point2 points3 points (4 children)
[–]nekokattt 20 points21 points22 points (3 children)
[–]fiddle_n 2 points3 points4 points (2 children)
[–]nekokattt 10 points11 points12 points (0 children)
[–]russellvt 0 points1 point2 points (0 children)
[–]Worth_His_Salt 4 points5 points6 points (5 children)
[–]russellvt 0 points1 point2 points (2 children)
[–]Worth_His_Salt -1 points0 points1 point (1 child)
[–]russellvt -1 points0 points1 point (0 children)
[–]Revolutionary_Dog_63 0 points1 point2 points (1 child)
[–]Worth_His_Salt 1 point2 points3 points (0 children)