[issue917120] imaplib: incorrect quoting in commands

Dan Buch report at bugs.python.org
Wed Aug 4 05:08:12 CEST 2010


Dan Buch <daniel.buch at 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 <report at bugs.python.org>
<http://bugs.python.org/issue917120>
_______________________________________


More information about the Python-bugs-list mailing list