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.

Author dveeden
Recipients barry, dveeden, r.david.murray
Date 2013-12-19.07:06:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387436775.78.0.298323021879.issue20013@psf.upfronthosting.co.za>
In-reply-to
Content
Without the patch:
Traceback (most recent call last):
  File "./test.py", line 10, in <module>
    s.select('INBOX')
  File "/usr/lib/python2.7/imaplib.py", line 649, in select
    typ, dat = self._simple_command(name, mailbox)
  File "/usr/lib/python2.7/imaplib.py", line 1070, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/lib/python2.7/imaplib.py", line 899, in _command_complete
    raise self.abort('command: %s => %s' % (name, val))
imaplib.abort: command: SELECT => socket error: EOF

With the patch:
Traceback (most recent call last):
  File "./test.py", line 10, in <module>
    s.select('INBOX')
  File "/usr/lib/python2.7/imaplib.py", line 649, in select
    typ, dat = self._simple_command(name, mailbox)
  File "/usr/lib/python2.7/imaplib.py", line 1075, in _simple_command
    return self._command_complete(name, self._command(name, *args))
  File "/usr/lib/python2.7/imaplib.py", line 899, in _command_complete
    raise self.abort('command: %s => %s' % (name, val))
imaplib.abort: command: SELECT => Selected mailbox was deleted, have to disconnect.

I'm really happy with this new behaviour.
History
Date User Action Args
2013-12-19 07:06:15dveedensetrecipients: + dveeden, barry, r.david.murray
2013-12-19 07:06:15dveedensetmessageid: <1387436775.78.0.298323021879.issue20013@psf.upfronthosting.co.za>
2013-12-19 07:06:15dveedenlinkissue20013 messages
2013-12-19 07:06:15dveedencreate