[Python-bugs-list] [ python-Bugs-559884 ] imaplib.IMAP4.open() typo

noreply@sourceforge.net noreply@sourceforge.net
Thu, 23 May 2002 15:47:00 -0700


Bugs item #559884, was opened at 2002-05-23 18:47
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=559884&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Erik Demaine (edemaine)
Assigned to: Nobody/Anonymous (nobody)
Summary: imaplib.IMAP4.open() typo

Initial Comment:
Looking at imaplib.py, class IMAP4, method open(),
there are two arguments, host and port, which are never
used in the method.  Instead, self.host and self.port
(set only in __init__) are used.  This gives a
misleading notion of what open() does.  I suggest that
these arguments be removed, because currently an IMAP4
object cannot be open()ed later by an external user,
i.e., open() is really private.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=559884&group_id=5470