Well, Rust formatting is magical, unlike that of Go: it has to be because it has type-safe format strings, which can't be expressed in the normal language. But the magic is encapsulated into a macro, so the complexity doesn't leak into the language per se. Someone could write a similar string interpolation macro and replicate Python's feature without modifying the compiler if they wanted--though the fact that nobody has so far indicates to me that it probably isn't needed, as the {} syntax is awfully lightweight already.
Re:New string formatting in Python
by mixmastamyk on Sunday January 03, 2016 @09:04PM
(#10833642)
Interpolation is one of the features I require in a rapid prototyping language, it is useful every single day and not esoteric.
Go and Rust are two notable new languages which require explicit formatting functions as opposed to relying on special string interpolation syntax.