[issue20476] If new email policies are used, default message factory should be EmailMessage

2016-09-09 Thread Roundup Robot

Roundup Robot added the comment:

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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20476] If new email policies are used, default message factory should be EmailMessage

2016-09-09 Thread R. David Murray

Changes by R. David Murray :


--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed
type: resource usage -> enhancement
versions: +Python 3.6 -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20476] If new email policies are used, default message factory should be EmailMessage

2016-09-09 Thread Roundup Robot

Roundup Robot added the comment:

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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20476] If new email policies are used, default message factory should be EmailMessage

2016-09-07 Thread R. David Murray

R. David Murray added the comment:

Here's the patch to add the message_factory policy attribute.

--
Added file: http://bugs.python.org/file44454/message_factory.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20476] If new email policies are used, default message factory should be EmailMessage

2015-10-01 Thread aj guy

Changes by aj guy :


--
assignee:  -> docs@python
components: +Documentation, Library (Lib)
nosy: +aj guy, docs@python
type: behavior -> resource usage

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20476] If new email policies are used, default message factory should be EmailMessage

2014-02-07 Thread R. David Murray

R. David Murray added the comment:

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.

--
stage: commit review -> needs patch
versions: +Python 3.5 -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20476] If new email policies are used, default message factory should be EmailMessage

2014-02-07 Thread Roundup Robot

Roundup Robot added the comment:

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

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20476] If new email policies are used, default message factory should be EmailMessage

2014-02-01 Thread R. David Murray

New submission from R. David Murray:

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.

--
components: email
files: use_emailmessage.patch
keywords: patch
messages: 209921
nosy: barry, r.david.murray
priority: high
severity: normal
stage: commit review
status: open
title: If new email policies are used, default message factory should be 
EmailMessage
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file33848/use_emailmessage.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com