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.Message.as_string no longer mangles "From " (doc fix)
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.1, Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: r.david.murray Nosy List: michael.henry, python-dev, r.david.murray, vstinner
Priority: normal Keywords:

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

Pull Requests
URL Status Linked Edit
PR 11563 merged vstinner, 2019-01-15 10:52
PR 11563 merged vstinner, 2019-01-15 10:52
PR 11563 merged vstinner, 2019-01-15 10:52
PR 11565 open vstinner, 2019-01-15 11:38
PR 11565 open vstinner, 2019-01-15 11:39
PR 11565 open vstinner, 2019-01-15 11:39
PR 11565 open vstinner, 2019-01-15 11:39
Messages (4)
msg130981 - (view) Author: Michael Henry (michael.henry) * Date: 2011-03-15 15:15
The function email.Message.as_string has an out-of-date comment:

"""
This is a convenience method and may not generate the message exactly
as you intend because by default it mangles lines that begin with
"From ".  For more flexibility, use the flatten() method of a
Generator instance.
"""

The functionality has changed such that "From " mangling is no longer done.
msg131011 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-03-15 18:04
New changeset 2804a78a123e by R David Murray in branch '3.1':
#11555: update doc for 3.x change to as_string mangle_from default.
http://hg.python.org/cpython/rev/2804a78a123e

New changeset 9daa9a4c4cc4 by R David Murray in branch '3.2':
Merge #11555 as_string doc fix from 3.1.
http://hg.python.org/cpython/rev/9daa9a4c4cc4

New changeset 1c0cded97280 by R David Murray in branch 'default':
Merge #11555 as_string doc fix from 3.2.
http://hg.python.org/cpython/rev/1c0cded97280
msg333675 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-01-15 11:13
New changeset b91140fdb17472d03a7b7971f143c08a40fde923 by Victor Stinner in branch 'master':
bpo-11555: Enhance IocpProactor.close() log again (GH-11563)
https://github.com/python/cpython/commit/b91140fdb17472d03a7b7971f143c08a40fde923
msg333680 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-01-15 11:39
> New changeset b91140fdb17472d03a7b7971f143c08a40fde923 by Victor Stinner in branch 'master':
> bpo-11555: Enhance IocpProactor.close() log again (GH-11563)
> https://github.com/python/cpython/commit/b91140fdb17472d03a7b7971f143c08a40fde923

Sorry, this change is for bpo-34323.
History
Date User Action Args
2022-04-11 14:57:14adminsetgithub: 55764
2019-01-15 11:39:41vstinnersetmessages: + msg333680
2019-01-15 11:39:19vstinnersetpull_requests: + pull_request11223
2019-01-15 11:39:12vstinnersetpull_requests: + pull_request11224
2019-01-15 11:39:05vstinnersetpull_requests: + pull_request11222
2019-01-15 11:38:58vstinnersetpull_requests: + pull_request11221
2019-01-15 11:13:51vstinnersetnosy: + vstinner
messages: + msg333675
2019-01-15 10:52:51vstinnersetpull_requests: + pull_request11212
2019-01-15 10:52:46vstinnersetpull_requests: + pull_request11211
2019-01-15 10:52:40vstinnersetpull_requests: + pull_request11210
2011-03-15 18:05:29r.david.murraysetstatus: open -> closed
type: behavior
resolution: fixed
stage: resolved
2011-03-15 18:04:44python-devsetnosy: + python-dev
messages: + msg131011
2011-03-15 16:43:47r.david.murraysetversions: + Python 3.1, Python 3.2, Python 3.3
2011-03-15 16:14:43r.david.murraysetassignee: r.david.murray
2011-03-15 15:15:42michael.henrycreate