Yes, this is how I see it as well.
Each serves its purpose.
And while t-string allows to pass-through any format_spec, conversion is restricted.
Of course, making things restricted is safer in general, but the cost seems reasonable:
- If implemented it just falls into the same category as
format_spec. i.e. say user has his own conversiontimplemented,stdlibimplementst, user needs to change the letter. But it is already the same withformat_spec, so I think it adds more value than causes actual problems. e.g. how many new conversions were added tostdlibin last 10 years? string.Formatterhas been allowing any character for a long time now and I don’t think there were any issues.
Thus, I think this is fairly safe.