Python: There’s more than one way to format a string

LWN.net has an interesting article about Easier Python string formatting. Summary: For Python 3.6, they’re going to introduce yet another way to format strings, called f-strings.

  answer = 42
  f’The answer is {answer}’

They also have a proposal of how to make it secure, so that untrusted input contained in variables doesn’t introduce problems.