[Python-3000] PEP 3137 plan of attack

Guido van Rossum guido at python.org
Mon Oct 8 21:51:59 CEST 2007


On 10/8/07, Brett Cannon <brett at python.org> wrote:
> On 10/7/07, Guido van Rossum <guido at python.org> wrote:
> [SNIP]
> > PS. Is there anyone who understands test_urllib2net and can fix it?
> > It's been failing for weeks (maybe months) now.
>
> I don't understand it but I fixed it in r58378.  =)
>
> When ftplib.FTP was converted over to Py3K it was given a default
> encoding of ASCII on all read data, but that doesn't work as the stuff
> on the other end could be latin1 (and it was).  So I just changed the
> default encoding.

Cool. Though how do you know it was really latin1? Is there anything
standardized about the encoding used by FTP?

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


More information about the Python-3000 mailing list