[issue36564] Infinite loop with short maximum line lengths in EmailPolicy
Abhilash Raj
report at bugs.python.org
Thu May 16 22:32:36 EDT 2019
Abhilash Raj <raj.abhilash1 at gmail.com> added the comment:
Moving the conversation here from https://github.com/python/cpython/pull/12732 for David.
I previously suggested HeaderParseError because of the fact that we could fail to parse a value into a Header Object in the above scenario.
@r.david.murray Would it be more appropriate to have something like a "PolicyError" in case where the policy's max_line_length isn't long enough to fit the shortest encoded word?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36564>
_______________________________________
More information about the Python-bugs-list
mailing list