This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib2 FTPHandler bugs
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: kbk Nosy List: jjlee, kbk
Priority: normal Keywords: patch

Created on 2004-06-13 23:49 by jjlee, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_urllib2.py.patch jjlee, 2004-06-13 23:49
urllib2.py.patch jjlee, 2004-06-13 23:51
Messages (2)
msg46179 - (view) Author: John J Lee (jjlee) Date: 2004-06-13 23:49
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.
msg46180 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2004-07-11 17:15
Logged In: YES 
user_id=149084

urllib2.py 1.72
test_urllib2.py 1.18
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40396
2004-06-13 23:49:37jjleecreate