Bah dans "what's new in python 3.0"[1] on peut par exemple lire :
PEP 3101: Advanced String Formatting. Note: the 2.6 description mentions the format() method for both 8-bit and Unicode strings. In 3.0, only the str type (text strings with Unicode support) supports this method; the bytes type does not. The plan is to eventually make this the only API for string formatting, and to start deprecating the % operator in Python 3.1.
[^] # Re: Mouhahahaha
Posté par cho7 (site web personnel) . En réponse au journal Il faut sauver le soldat %. Évalué à 3.
PEP 3101: Advanced String Formatting. Note: the 2.6 description mentions the format() method for both 8-bit and Unicode strings. In 3.0, only the str type (text strings with Unicode support) supports this method; the bytes type does not. The plan is to eventually make this the only API for string formatting, and to start deprecating the % operator in Python 3.1.
[1] http://docs.python.org/3.0/whatsnew/3.0.html