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: better import ftplib and gopherlib etc late
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: jjlee, kxroberto, loewis
Priority: normal Keywords: patch

Created on 2004-10-24 11:50 by kxroberto, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch_urllib2.patch kxroberto, 2004-10-24 11:50 patch for urllib2
Messages (4)
msg47122 - (view) Author: kxroberto (kxroberto) Date: 2004-10-24 11:50
importing those libs like (ftplib, gopherlib, ..)
unconditionally on top of urllib2 slows down and
hinders distributing small app packages (py2exe'd,
mcm.installer, ...).
simple patch in attachment
msg47123 - (view) Author: John J Lee (jjlee) Date: 2005-02-04 23:10
Logged In: YES 
user_id=261020

Looks good to me.
msg47124 - (view) Author: John J Lee (jjlee) Date: 2005-05-19 20:38
Logged In: YES 
user_id=261020

Since Jeremy doesn't like the idea (see tracker item ref.
below), this should probably be closed, but:

Robert originally submitted this as bug 1046077.
msg47125 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-05-11 04:31
Logged In: YES 
user_id=21627

Closing this as out-of-date; it is replaced by #1484793.
History
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 41067
2004-10-24 11:50:38kxrobertocreate