Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
Null merge (already committed in changeset a3ba5fe9bfd3)
#7855: Add tests for ctypes/winreg for issues found in IronPython.  Initial patch by Dino Viehland.
#7855: merge with 3.3.
#16518: use "bytes-like object" throughout the docs.
#16518: merge with 3.3.
#17115,17116: Have modules initialize the __package__ and __loader__
attributes to None.

The long-term goal is for people to be able to rely on these
attributes existing and checking for None to see if they have been
set. Since import itself sets these attributes when a loader does not
the only instances when the attributes are None are from someone
overloading __import__() and not using a loader or someone creating a
module from scratch.

This patch also unifies module initialization. Before you could have
different attributes with default values depending on how the module
object was created. Now the only way to not get the same default set
of attributes is to circumvent initialization by calling
ModuleType.__new__() directly.
Issue #5845: Enable tab-completion in the interactive interpreter by default, thanks to a new sys.__interactivehook__.

(original patch by ?ric Araujo)
Elaborate on bytes-like objects.
Elaborate on bytes-like objects.
Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
#17115: Remove what appears to be a useless chunk of code which broke
other tests.
merge
#17115: I hate you MS for not supporting C99.
Change a test assertion to a conditional so the test will pass on
Windows.
Fix a test to not use an assertion for something that could be
legitimately false.
merge w/ 3.3