[Python-Dev] PEP 461 Final?
Antoine Pitrou
solipsis at pitrou.net
Sat Jan 18 12:40:06 CET 2014
On Fri, 17 Jan 2014 08:49:21 -0800
Ethan Furman <ethan at stoneleaf.us> wrote:
> ================================================================================
> PEP: 461
There are formatting issues in the HTML rendering, I think the ReST
code needs a bit massaging:
http://www.python.org/dev/peps/pep-0461/
> .. note::
>
> Because the str type does not have a __bytes__ method, attempts to
> directly use 'a string' as a bytes interpolation value will raise an
> exception. To use 'string' values, they must be encoded or otherwise
> transformed into a bytes sequence::
s/'string' values/unicode strings/
Regards
Antoine.
More information about the Python-Dev
mailing list