[Python-Dev] New test failure: test_imaplib.py

Tim Peters tim.one@comcast.net
2002年3月08日 02:38:08 -0500


You don't really have to run the test, just try to import imaplib:
C:\Code\python\PCbuild>python
Python 2.3a0 (#29, Mar 2 2002, 03:12:05) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import imaplib
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "C:\CODE\PYTHON\lib\imaplib.py", line 986, in ?
 class IMAP4_SSL(IMAP4):
 File "C:\CODE\PYTHON\lib\imaplib.py", line 1001, in IMAP4_SSL
 def __init__(self, host = '', port = IMAP4_SSL_PORT, keyfile = None,
certfil
e = None):
NameError: name 'IMAP4_SSL_PORT' is not defined
>>>
Indeed IMAP4_SSL_PORT is not defined, and I don't see how this could be
unique to Windows. Aren't people on Linux seeing this too?

AltStyle によって変換されたページ (->オリジナル) /