[issue34222] Email message serialization enters an infinite loop when folding non-ASCII headers with long words

2019-01-30 Thread Ivan Krivosheev
Ivan Krivosheev added the comment: Hello Grigory. I using our patch in my project. I have some problems with your fixes. Source text: Subject: test Венесуэла собирается пересмотреть стоимость заключенных с Россией контрактов на поставку вооружений, а также отношения с Москвой в целом. Об

[issue35016] \r to match add into address header with not-ascii character

2018-10-18 Thread Ivan Krivosheev
Change by Ivan Krivosheev : -- keywords: +patch pull_requests: +9297 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35016> ___ ___ Py

[issue35016] \r to match add into address header with not-ascii character

2018-10-18 Thread Ivan Krivosheev
Change by Ivan Krivosheev : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue35016> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35016] \r to match add into address header with not-ascii character

2018-10-18 Thread Ivan Krivosheev
New submission from Ivan Krivosheev : When convert email.message.Message to bytes, into header with non-ascii character in address add to match *\r* symbol. Simple script for reproduce problem: >>> from email.message import Message >>> from email.policy impor