Issue #18879: When a method is looked up on a temporary file, avoid closing the file before the method is possibly called.
Fix DeprecationWarnings in test suite
Issue #20045: Fix "setup.py register --list-classifiers".
Fix urllib.request.build_opener mocking in test_distutils (should fix some random buildbot failures)
Issue #12226: HTTPS is now used by default when connecting to PyPI.
Issue #12226: HTTPS is now used by default when connecting to PyPI.
s/lightweight/minimal/, as per issue #11379.