Ashwin Ramaswami <aramaswa...@gmail.com> added the comment:

Thanks, I've fixed the first case as you suggested.

I found an example of the 2nd case -- '=?utf-8?q?=somevalue?=' -- which causes 
the method to hang. I've added a fix, though I'm not sure if it treats the 
string properly -- it parses it as '=?utf-8?q?=somevalue?=' and doesn't raise 
any defects. Is that the behavior we would want?

----------

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

Reply via email to