[Python-3000] Bytes <-> string conversion methods

Guido van Rossum guido at python.org
Sun Feb 25 05:46:11 CET 2007

Yup, that was a typo. Someone else noticed it too. It's fixed in the
version of the slides I'll post to python.org.


On 2/24/07, Ka-Ping Yee <python-dev at zesty.ca> wrote:
> Hi Guido,
> I'm in your keynote and looking at a slide right now that says
>     * bytes has .encode() method returning a string
>     * str has a .decode() method returning bytes
> Should the names of those two methods be swapped?  I think it
> makes more sense to say that an encoding is something that
> transforms a string into a sequence of bytes.
> -- ?!ng
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-3000 mailing list