Dan Buch <daniel.b...@gmail.com> added the comment:

I'm attaching a patch which does exactly what dmbaggett recommended w.r.t. the 
mustquote regex.  All current tests pass, but I'm not sure if the current tests 
even cover this code (how is coverage measured in the stdlib tests?)

On a related note, the `_checkquote` method which uses the `mustquote` regex is 
dead code in Python 3.2+, AFAICT.

----------
keywords: +patch
nosy: +meatballhat, r.david.murray
Added file: 
http://bugs.python.org/file18367/adjust-mustquote-re-in-imaplib.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue917120>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to