[Python-3000] Does bytes() need to support bytes(<str>, <encoding>)?

Guido van Rossum guido at python.org
Tue Aug 28 17:19:15 CEST 2007


On 8/27/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Guido van Rossum wrote:
> > I think we can't really drop s.encode(), for symmetry with b.decode().
>
> Do we actually need b.decode()?

For symmetry with s.encode().

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


More information about the Python-3000 mailing list