[New-bugs-announce] [issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message
Sjoerd
report at bugs.python.org
Mon Jul 6 10:22:59 CEST 2009
New submission from Sjoerd <sjoerd-python at linuxonly.nl>:
If you do not IMAP4.select(), you get the following error:
imaplib.error: command SEARCH illegal in state AUTH.
This does not inform the user that he has to do IMAP4.select(). Better
would be:
imaplib.error: command SEARCH illegal in state AUTH, allowed in state
SELECTED.
See also:
http://mail.python.org/pipermail/patches/2006-December/021308.html
----------
components: Library (Lib)
messages: 90166
nosy: Sjoerder
severity: normal
status: open
title: imaplib.IMAP4 "command illegal in this state" is unhelpful error message
type: behavior
versions: Python 2.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6426>
_______________________________________
More information about the New-bugs-announce
mailing list