One thing the PEP doesn't make clear: do these templates only interpolate string variables, or will they handle anything with a __str__ method? e.g., will the following raise an exception: print Template("I am ${height} centimetres tall.") % {height: 183}