[issue23678] imaplib status command cannot handle folder name containing whitespaces

2015-03-16 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of a subset of issue 917120. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> imaplib: incorrect quoting in commands ___ Python tracker

[issue23678] imaplib status command cannot handle folder name containing whitespaces

2015-03-16 Thread bjshan
New submission from bjshan: imaplib status failed if the folder name contains whitespace. For example, c = IMAP4_SSL('hostname') c = login(username, password) c.status('Drafts', '(MESSAGES)')# would succeed c.status('Apple Mail To Do', '(MESSAGES)') # would fail, error message is: imaplib.er