Eric V. Smith added the comment: flags is supposed to be a string. This is not well documented, like much of the module.
Try: flags = r'(\Answered \Seen)' ---------- nosy: +eric.smith _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23323> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com