[issue27737] email.header.Header.encode() crashes with IndexError on spaces only value

2019-05-22 Thread R. David Murray
R. David Murray added the comment: New changeset 0416d6f05a96e0f1b3751aa97abfffe6d3323976 by R. David Murray (Miss Islington (bot)) in branch '3.7': bpo-27737: Allow whitespace only headers encoding (GH-13478) (#13517)

[issue27737] email.header.Header.encode() crashes with IndexError on spaces only value

2019-05-22 Thread R. David Murray
R. David Murray added the comment: Thanks. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue27737] email.header.Header.encode() crashes with IndexError on spaces only value

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

[issue27737] email.header.Header.encode() crashes with IndexError on spaces only value

2019-05-22 Thread R. David Murray
R. David Murray added the comment: New changeset ef5bb25e2d6147cd44be9c9b166525fb30485be0 by R. David Murray (Batuhan Taşkaya) in branch 'master': bpo-27737: Allow whitespace only headers encoding (#13478) https://github.com/python/cpython/commit/ef5bb25e2d6147cd44be9c9b166525fb30485be0

[issue27737] email.header.Header.encode() crashes with IndexError on spaces only value

2019-05-21 Thread Batuhan
Change by Batuhan : -- pull_requests: +13390 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27737] email.header.Header.encode() crashes with IndexError on spaces only value

2016-08-11 Thread Tim Graham
New submission from Tim Graham: Python 2.7: >>> from email.header import Header >>> Header(' ').encode() '' Python 3.2+ (I didn't check older versions of Python 3): >>> Header(' ').encode() Traceback (most recent call last): File "", line 1, in File

[issue27737] email.header.Header.encode() crashes with IndexError on spaces only value

2016-08-11 Thread SilentGhost
Changes by SilentGhost : -- nosy: +barry, r.david.murray stage: -> needs patch type: -> behavior versions: -Python 3.2, Python 3.3 ___ Python tracker