#17303: test_future* now work with unittest test discovery.  Patch by Zachary Ware.
#17303: merge with 3.3.
#17304: test_hash now works with unittest test discovery.  Patch by Zachary Ware.
#17304: merge with 3.3.
#17296: backport fix for issue 1692335, naive exception pickling.
Null merge for issue 1692335 backport.
Null merge for issue 1692335 backport.
Issue #17283: Share code between __main__.py and regrtest.py in Lib/test.

This commit also removes TESTCWD from regrtest.py's global namespace.
Issue #16406: Combine the doc pages for uploading and registering to PyPI.
Issue #16406: Combine the doc pages for uploading and registering to PyPI.
Issue #16406: Combine the doc pages for uploading and registering to PyPI.