[issue36564] Infinite loop with short maximum line lengths in EmailPolicy
R. David Murray
report at bugs.python.org
Fri May 17 09:08:35 EDT 2019
R. David Murray <rdmurray at bitdance.com> added the comment:
As for the other, I don't see the need for a custom error. It's a ValueError in my view. I wouldn't object to it strongly, but note that this error is content dependent. If there's nothing to encode, you can "get away with" a shorter maxlen. Though why you would want to is beyond me, and that's another reason I don't think this warrants a custom error class.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36564>
_______________________________________
More information about the Python-bugs-list
mailing list