ocean wrote:

> After I did this change, most errors were gone.
>
> Index: Lib/urllib.py
> ===================================================================
> --- Lib/urllib.py (revision 55584)
> +++ Lib/urllib.py (working copy)
> @@ -833,7 +833,7 @@
>          self.busy = 0
>          self.ftp = ftplib.FTP()
>          self.ftp.connect(self.host, self.port, self.timeout)
> -        self.ftp.login(self.user, self.passwd)
> +#        self.ftp.login(self.user, self.passwd)
>          for dir in self.dirs:
>              self.ftp.cwd(dir)
>
> I don't know, but probably 'login' on Win2000 is problamatic.

But you can *not* do this, you're trimming functionality from this
class.

The test that I left commented out in test_urllib.py just tries to
simulate the first two FTP server answers, one saying "hello", and the
other asking for the user.

This is just to test ftpwrapper in its more basic first steps. The
simulation goes ok in linux, but not in windows. But the problem is
clearly in the tests, even if I can not find it, not in the
urllib module. 

Regards,

-- 
.   Facundo
.
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to