You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2016-09-09.23:05:04.098>created_at=<Date2014-02-01.22:08:05.645>labels= ['type-feature', 'library', 'expert-email', 'docs']
title='If new email policies are used, default message factory should be EmailMessage'updated_at=<Date2016-09-10.04:25:34.025>user='https://github.com/bitdancer'
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.