[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2013-02-15 Thread R. David Murray
R. David Murray added the comment: The issue 1605192 fix was applied to 2.7. -- nosy: +r.david.murray resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> Make Imap Error more helpful ___ Python tra

[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2009-07-08 Thread Sjoerd
Sjoerd added the comment: See http://bugs.python.org/issue1605192 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2009-07-07 Thread Ezio Melotti
Ezio Melotti added the comment: Can you provide a patch? -- keywords: +easy nosy: +ezio.melotti priority: -> low stage: -> needs patch versions: +Python 2.7 -Python 2.5 ___ Python tracker

[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2009-07-06 Thread Sjoerd
New submission from Sjoerd : 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 SEL