[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2019-05-17 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thank you, @licht-t for the original patch and @maxking for the rebase. Also, thank you, @r.david.murray for the review and merge. -- nosy: +cheryl.sabella ___ Python tracker

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2019-05-17 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2019-05-17 Thread miss-islington
miss-islington added the comment: New changeset 5386aaf07835889e90fb33e95b6d37197f8cfea0 by Miss Islington (bot) in branch '3.7': bpo-33524: Fix the folding of email header when max_line_length is 0 or None (GH-13391)

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2019-05-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13303 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2019-05-17 Thread R. David Murray
R. David Murray added the comment: New changeset feac6cd7753425fba006e97e2d9b74a0c0c75894 by R. David Murray (Abhilash Raj) in branch 'master': bpo-33524: Fix the folding of email header when max_line_length is 0 or None (#13391)

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2019-05-17 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +13300 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2019-02-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: See this issue as a duplicata of this one: https://bugs.python.org/issue35985 -- nosy: +matrixise ___ Python tracker ___

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2018-07-25 Thread R. David Murray
Change by R. David Murray : -- nosy: +altvod versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ ___

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2018-05-18 Thread Licht Takeuchi
Change by Licht Takeuchi : -- keywords: +patch pull_requests: +6625 stage: -> patch review ___ Python tracker ___

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2018-05-15 Thread R. David Murray
R. David Murray added the comment: Oh, interesting. I could argue that that's a missing feature in Python's slice handling. The value of text_space at that point is '+inf', and I obviously incorrectly assumed that slicing would treat that as if it were [:]. The

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2018-05-15 Thread radical164
New submission from radical164 : Python 3.6.5 has trouble on folding email messages: Traceback (most recent call last): File "emailtest.py", line 7, in policy.fold("Subject", msg["Subject"]) File "/usr/lib/python3.6/email/policy.py", line 183, in fold return