Closes #18046: Simplified logging internals relating to levels and their names. Thanks to Alex Gaynor for the patch.
Issue #8240: Set the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag on SSL sockets.
Fix test_bad_address on Ubuntu 13.04
Fix test_bad_address on Ubuntu 13.04
Fix compilation under MSVC: ssl_set_mode() is a macro, and the MSVC preprocessor doesn't process #ifdef's inside a macro argument list.

(found explanation at http://www.tech-archive.net/Archive/VC/microsoft.public.vc.language/2007-05/msg00385.html)
Issue #13612: handle unknown encodings without a buffer overflow.

This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.

Based on a patch by Serhiy Storchaka.
Issue #13612: handle unknown encodings without a buffer overflow.

This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.

Based on a patch by Serhiy Storchaka.
Clean-up duplicated code in tests
Clean-up duplicated code in tests
Various tweaks to importlib docs.
merge
Add a missing parenthesis.
merge
Mention __cached__ in the import ref.
merge
Fix #16832 - expose cache validity checking support in ABCMeta
Mention issue #16832 in Misc/NEWS
Issue #18063: fix some struct specifications in the tests for sys.getsizeof().
Issue #18063: fix some struct specifications in the tests for sys.getsizeof().