Issue #22191: Fix warnings.__all__.

Thanks to Jon Poler for the patch.

--HG--
branch : 2.7
Issue #21166: Prevent possible segfaults and other random failures of
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.

--HG--
branch : 2.7
Issue #22199: Make get_makefile_filename() available in Lib/sysconfig.py
for 2.7 to match other versions of sysconfig.

--HG--
branch : 2.7
Issue #22199: update Misc/NEWS

--HG--
branch : 2.7