[New-bugs-announce] [issue11136] imaplib IMAP4_SSL shutdown gets socket error in py 3.2

John report at bugs.python.org
Mon Feb 7 00:42:40 CET 2011


New submission from John <jh45dev at gmail.com>:

windows vista
Python 3.2 rc2

situation: 
connected to gmail with IMAP4_SSL, did stuff, and finally IMAP4_SSL.close() 
IMAP4_SSL.logout()
IMAP4_SSL.shutdown() 

shutdown() gets this error:

socket.error: [Errno 10038] An operation was attempted on something that is not a socket

No problem in Python 3.1.2

For now I don't use shutdown(), and hope the socket is closed automatically when the interpreter exits (as open files are).

-- jh

----------
components: Library (Lib)
messages: 128092
nosy: jh45
priority: normal
severity: normal
status: open
title: imaplib IMAP4_SSL shutdown gets socket error in py 3.2
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11136>
_______________________________________


More information about the New-bugs-announce mailing list