[Patches] [ python-Patches-972332 ] urllib2 FTPHandler bugs

SourceForge.net noreply at sourceforge.net
Sun Jul 11 19:15:36 CEST 2004


Patches item #972332, was opened at 2004-06-13 18:49
Message generated for change (Comment added) made by kbk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=972332&group_id=5470

Category: Library (Lib)
Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: John J Lee (jjlee)
>Assigned to: Kurt B. Kaiser (kbk)
Summary: urllib2 FTPHandler bugs

Initial Comment:
This uncomments a couple of failing tests in
test_urllib2.py, and fixes the corresponding bugs:

1. The first bug was half-fixed since I wrote the test.
 Ports in FTP URLs are now correctly handled.  However,
the type of the port argument passed to
ftplib.FTP.connect() is incorrect (is a string, should
be an integer).

2. The ftp://example.com/foo.txt;type=a syntax is
implemented but broken.

----------------------------------------------------------------------

>Comment By: Kurt B. Kaiser (kbk)
Date: 2004-07-11 12:15

Message:
Logged In: YES 
user_id=149084

urllib2.py 1.72
test_urllib2.py 1.18

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=972332&group_id=5470


More information about the Patches mailing list