[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2018-11-17 Thread R. David Murray
R. David Murray added the comment: No. 3.5 is in security-fix-only mode. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2018-11-16 Thread Vlad Temian
Vlad Temian added the comment: Is there any chance that this fix is gonna be ported to 3.5 as well? -- nosy: +vtemian ___ Python tracker ___

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-12-05 Thread R. David Murray
R. David Murray added the comment: Huh, I thought I had closed it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-12-04 Thread Berker Peksag
Berker Peksag added the comment: All three examples in test2.py correctly folded (doesn't hit the ``except Exception as e:`` branch anymore) in current master. Can this issue be closed now? -- nosy: +berker.peksag ___

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-12-03 Thread R. David Murray
R. David Murray added the comment: New changeset a87ba60fe56ae2ebe80ab9ada6d280a6a1f3d552 by R. David Murray (Miss Islington (bot)) in branch '3.6': bpo-27240 Rewrite the email header folding algorithm. (GH-3488) (#4693)

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-12-03 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4605 ___ Python tracker ___

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-12-03 Thread R. David Murray
R. David Murray added the comment: New changeset 85d5c18c9d83a1d54eecc4c2ad4dce63194107c6 by R. David Murray in branch 'master': bpo-27240 Rewrite the email header folding algorithm. (#3488)

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-09-10 Thread R. David Murray
Changes by R. David Murray : -- keywords: +patch pull_requests: +3478 stage: needs patch -> patch review ___ Python tracker ___

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-09-09 Thread R. David Murray
R. David Murray added the comment: I managed to finish the rewrite, and it does fix this issue. I'll probably post the PR tomorrow. -- ___ Python tracker

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-09-06 Thread R. David Murray
R. David Murray added the comment: I started rewriting the header folder in response to this bug, because the root problem is a bit deeper than just _fold_as_ew being missing. I will probably work on it some more this week, but if I don't think I'm going to get it finished I'll look at

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-09-06 Thread Raphael Slinckx
Raphael Slinckx added the comment: It happens regularly for emails with long header lines for me too, which makes the python3 email module quite unusable. A workaround which seems to help a bit is to set refold_source='none' on the email policy, although it seems to keep happening, less

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-06-12 Thread Zhang Wenbo
Zhang Wenbo added the comment: I think I find a case which can reproduct this bug: the UnstructuredTokenList has a ValueTerminal which is long enough(its encoded word is longer than policy.maxlen ) and not at the beginning. For examples, the following subjects can cause this bug: - 'Re:

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-06-12 Thread Zhang Wenbo
Changes by Zhang Wenbo : -- nosy: +Zhang Wenbo ___ Python tracker ___ ___

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2017-05-11 Thread Arthur Gutman
Changes by Arthur Gutman : -- nosy: +archibald ___ Python tracker ___ ___

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2016-06-06 Thread SilentGhost
Changes by SilentGhost : -- stage: -> needs patch type: -> behavior versions: -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2016-06-06 Thread Leblond Emmanuel
New submission from Leblond Emmanuel: The folding code for email headers crashes whenever it hits line _header_value_parser.py:432 given it try to call method `_fold_as_ew`. ``` (venv)➜ vigiechiro-api git:(in2p3) ✗ python test_mail.py Traceback (most recent call last): File