#20476: use EmailMessage as factory if non-compat32 policy is used.

In 3.5 I will fix this right by adding a message_factory attribute
to the policy.
#20477: add examples of using the new contentmanager API.
Issue #20505: add debug info
asyncio doc: mention that asyncio is not thread-safe
#20531: Revert e20f98a8ed71, the 3.4 version of the #19063 fix.
#20531: Apply the 3.3 version of the #19063 fix.

So passing unicode to set_payload works again (but still doesn't
do what you want when the message is serialized).
#19063: the unicode-in-set_payload problem isn't getting fixed in 3.4.
Merge: #19063: the unicode-in-set_payload problem isn't getting fixed in 3.4.
#20013: don't raise socket error when selected mailbox deleted.

I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.

The patch itself was tested by the person who reported the bug.
#20013: don't raise socket error when selected mailbox deleted.

I'm checking this in without a test because not much of this code
is tested and I don't have time to work up the necessary extensions
to the existing test framework.

The patch itself was tested by the person who reported the bug.
Null merge of commit accidentally made to default branch first.
#17369: Improve handling of broken RFC2231 values in get_filename.

This fixes a regression relative to python2.
Merge: #17369: Improve handling of broken RFC2231 values in get_filename.
Issue #20505: Remove resolution and _granularity from selectors and asyncio

* Remove selectors.BaseSelector.resolution attribute
* Remove asyncio.BaseEventLoop._granularity attribute
More asyncio news.