Issue #17098: Make sure every module has __loader__ defined.

Thanks to Thomas Heller for the bug report.
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
Add a test for fix of issue #17098
Issue #17098: Be more stringent of setting __loader__ on early imported
modules. Also made test more rigorous.
Additional fix for Issue #12268: The io module file object writelines() methods no longer abort early when one of its write system calls is interrupted (EINTR).
better corrected news entry
Additional fix for issue #12268: The io module file object write methods no
longer abort early when a write system call is interrupted (EINTR).
null merge
merge
Issue #16256: OS X installer now sets correct permissions for doc directory.
Issue #16256: merge from 3.2
Silence a -Wformat-extra-argument warning when compiling.
null merge from 3.2 (3.3's code already refactored)
In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.
Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays.  Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
Issue #15587: merge from 3.2
Issue #15116: Remove references to appscript as it is no longer being
supported.
Issue #15116: merge from 3.2