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: IMAP4_SSL broken
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: nijel, nnorwitz
Priority: high Keywords:

Created on 2003-05-19 15:46 by nijel, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Messages (3)
msg16057 - (view) Author: Michal Čihař (nijel) * Date: 2003-05-19 15:46
Python 2.3b1 (#1, May  6 2003, 10:52:33)
[GCC 3.3 20030226 (prerelease) (SuSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> import imaplib
>>> imaplib.IMAP4_SSL('mailserver')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.3/imaplib.py", line 1071, in
__init__
    IMAP4.__init__(self, host, port)
  File "/usr/lib/python2.3/imaplib.py", line 156, in
__init__
    self.open(host, port)
  File "/usr/lib/python2.3/imaplib.py", line 1084, in open
    self.sslobj = socket.ssl(self.sock, self.keyfile,
self.certfile)
TypeError: ssl() argument 1 must be _socket.socket, not
_socketobject
msg16058 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-05-21 22:37
Logged In: YES 
user_id=33168

Raising priority, there may be other problems similar to
this.  Not sure who should look at this though.
msg16059 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-06-15 13:14
Logged In: YES 
user_id=33168

Fixed by Lib/socket.py 1.42 when fixing #754447.
History
Date User Action Args
2022-04-10 16:08:49adminsetgithub: 38520
2003-05-19 15:46:10nijelcreate