[issue37461] email.parser.Parser hang
Marcin Niemira
report at bugs.python.org
Mon Jul 1 09:07:10 EDT 2019
Marcin Niemira <marcin.niemira at gmail.com> added the comment:
Sounds like there is an infinite loop here:
```
Pdb)
> /usr/lib/python3.7/email/_header_value_parser.py(2370)get_parameter()
-> v.append(token)
(Pdb)
> /usr/lib/python3.7/email/_header_value_parser.py(2365)get_parameter()
-> while value:
```
the ```v.append(token)``` is just growing with ```ValueTerminal(''), ValueTerminal(''), ValueTerminal('')...```
I'd be happy to try to fix this.
----------
nosy: +Marcin Niemira
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37461>
_______________________________________
More information about the Python-bugs-list
mailing list