Create ~/.pypirc securely (#13512).
Create ~/.pypirc securely (#13512).

There was a window between the write and the chmod where the user’s
password would be exposed, depending on default permissions.  Philip
Jenvey’s patch fixes it.

pypa/setuptools,pypa/setuptools,pypa/setuptools