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.
Created on 2014年02月01日 22:08 by r.david.murray, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| use_emailmessage.patch | r.david.murray, 2014年02月01日 22:08 | review | ||
| message_factory.diff | r.david.murray, 2016年09月07日 23:57 | review | ||
| Messages (6) | |||
|---|---|---|---|
| msg209921 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2014年02月01日 22:08 | |
This was part of the design of the new stuff added in 3.4, so it is a bug that it doesn't work...somehow I missed implementing this detail. The full implementation should make this a policy setting, so that a custom policy could specify its own factory. However, since 3.4 is in beta it would be a bad time to add that to the policy. The patch proposed here implements the required behavior by hardcoding any non-compat32 policy to use EmailMessage instead of Message in feedparser. |
|||
| msg210482 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年02月07日 15:44 | |
New changeset 77082b818676 by R David Murray in branch 'default': #20476: use EmailMessage as factory if non-compat32 policy is used. http://hg.python.org/cpython/rev/77082b818676 |
|||
| msg210483 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2014年02月07日 15:46 | |
I'm leaving this open and changing the version to 3.5 to remind myself to fix this right once default is open for 3.5 changes. |
|||
| msg274922 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2016年09月07日 23:57 | |
Here's the patch to add the message_factory policy attribute. |
|||
| msg275480 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2016年09月09日 22:40 | |
New changeset 9ba8f4be0651 by R David Murray in branch 'default': #20476: add a message_factory policy attribute to email. https://hg.python.org/cpython/rev/9ba8f4be0651 |
|||
| msg275563 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2016年09月10日 04:25 | |
New changeset 8375b8d54bf7 by R David Murray in branch 'default': #20476: Deal with the message_factory circular import differently. https://hg.python.org/cpython/rev/8375b8d54bf7 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:57 | admin | set | github: 64675 |
| 2016年09月10日 04:25:34 | python-dev | set | messages: + msg275563 |
| 2016年09月09日 23:05:04 | r.david.murray | set | status: open -> closed type: resource usage -> enhancement stage: needs patch -> resolved resolution: fixed versions: + Python 3.6, - Python 3.5 |
| 2016年09月09日 22:40:36 | python-dev | set | messages: + msg275480 |
| 2016年09月07日 23:57:19 | r.david.murray | set | files:
+ message_factory.diff messages: + msg274922 |
| 2015年10月02日 04:43:43 | aj guy | set | assignee: docs@python type: behavior -> resource usage components: + Documentation, Library (Lib) nosy: + docs@python, aj guy |
| 2014年02月07日 15:46:14 | r.david.murray | set | stage: commit review -> needs patch messages: + msg210483 versions: + Python 3.5, - Python 3.4 |
| 2014年02月07日 15:44:48 | python-dev | set | nosy:
+ python-dev messages: + msg210482 |
| 2014年02月01日 22:08:05 | r.david.murray | create | |