[issue38698] While parsing email message id: UnboundLocalError

2019-11-05 Thread Nikita Hoffmann
New submission from Nikita Hoffmann : Parsing an invalid email message id can throw a header parser error. A bug in parse_message_ still tries to append the unset token to a variable. File "/opt/python-3.8.0/lib/python3.8/email/_header_value_parser.py", line 2116, in parse_m

[issue38698] While parsing email message id: UnboundLocalError

2019-11-05 Thread Nikita Hoffmann
Change by Nikita Hoffmann : Added file: https://bugs.python.org/file48696/samplescript.py ___ Python tracker <https://bugs.python.org/issue38698> ___ ___ Python-bug