This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Unsupported provider

classification
Title: email quoprimime.py patch for header_encode of empty string, decode with different eol
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.1, Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: r.david.murray Nosy List: michael.henry, python-dev, r.david.murray
Priority: normal Keywords: patch

Created on 2011-03-17 16:30 by michael.henry, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
quoprimime_patch_header_encode_decode.patch michael.henry, 2011-03-17 16:30 Fixes minor bugs in quoprimime.py
Messages (3)
msg131265 - (view) Author: Michael Henry (michael.henry) * Date: 2011-03-17 16:30
The attached patch adds unit tests and some minor fixes for the email
module's quoprimime.py file.  The header_encode() function did not
properly return an empty string when given an empty string.  The
decode() function did not properly detect the input string's EOL
character.

This patch depends on application of the patch in issue #11589.
msg131910 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-03-23 19:37
New changeset 45cc298d40eb by R David Murray in branch '3.1':
#11590: fix quoprimime decode handling of empty strings and line endings.
http://hg.python.org/cpython/rev/45cc298d40eb

New changeset df613f7b726a by R David Murray in branch '3.2':
Merge #11590: fix quoprimime decode handling of empty strings and line endings.
http://hg.python.org/cpython/rev/df613f7b726a

New changeset d9a779be9736 by R David Murray in branch 'default':
Merge #11590: fix quoprimime decode handling of empty strings and line endings.
http://hg.python.org/cpython/rev/d9a779be9736
msg131911 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2011-03-23 19:39
Thanks again, Michael.
History
Date User Action Args
2022-04-11 14:57:14adminsetgithub: 55799
2011-03-23 19:39:41r.david.murraysetstatus: open -> closed
resolution: fixed
messages: + msg131911

stage: patch review -> resolved
2011-03-23 19:37:44python-devsetnosy: + python-dev
messages: + msg131910
2011-03-23 18:39:39r.david.murraysetassignee: r.david.murray
stage: patch review
type: behavior
versions: + Python 3.1, Python 2.7, Python 3.2, Python 3.3
2011-03-17 16:30:09michael.henrycreate