[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

[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

[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

[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

[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

[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

[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.