]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39380: Change ftplib encoding from latin-1 to utf-8 (GH-18048)
authorSebastian Pedersen <31063917+SebastianGPedersen@users.noreply.github.com>
Mon, 13 Apr 2020 23:07:56 +0000 (01:07 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2020 23:07:56 +0000 (01:07 +0200)
commita1a0eb4a394a5ac7a8422616ce1ee4125a3ef74f
treedfc13bcfb05cc9bd76cae41d04f11de1785c3bf2
parent258f5179f9494189e6a80311c86981d2a88ba9d6
bpo-39380: Change ftplib encoding from latin-1 to utf-8 (GH-18048)

Add the encoding in ftplib.FTP and ftplib.FTP_TLS to the
constructor as keyword-only and change the default from "latin-1" to "utf-8"
to follow RFC 2640.
Doc/library/ftplib.rst
Doc/whatsnew/3.9.rst
Lib/ftplib.py
Lib/test/test_ftplib.py
Misc/NEWS.d/next/Tests/2020-03-22-20-00-04.bpo-39380.ZXlRQU.rst [new file with mode: 0644]