#17296: backport fix for issue 1692335, naive exception pickling.
Issue #16406: Combine the doc pages for uploading and registering to PyPI.