Issue #19776: Add a expanduser() method on Path objects.

Patch by Serhiy.
whitespace
make PROTOCOL_SSLv23 the default protocol version for ftplib (closes #23111)
merge 3.4 (#23111)
update docs for #23111
merge 3.4