summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-05-02 05:01:02 (GMT)
committerGitHub <noreply@github.com>2021-05-02 05:01:02 (GMT)
commitfd0bc7e7f4f2c7de98a1ebc7ad1ef65b8f8f7ad6 (patch)
tree7b29d646ed11327975d742a34510a85de403e5d7 /Doc/library
parent49b26fa517165f991c35a4afcbef1fcb26836bec (diff)
downloadcpython-fd0bc7e7f4f2c7de98a1ebc7ad1ef65b8f8f7ad6.zip
cpython-fd0bc7e7f4f2c7de98a1ebc7ad1ef65b8f8f7ad6.tar.gz
cpython-fd0bc7e7f4f2c7de98a1ebc7ad1ef65b8f8f7ad6.tar.bz2
bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/netrc.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/netrc.rst b/Doc/library/netrc.rst
index 3d29ac4..4bf7de6 100644
--- a/Doc/library/netrc.rst
+++ b/Doc/library/netrc.rst
@@ -38,6 +38,10 @@ the Unix :program:`ftp` program and other FTP clients.
:func:`os.path.expanduser` is used to find the location of the
:file:`.netrc` file when *file* is not passed as argument.
+ .. versionchanged:: 3.10
+ :class:`netrc` try UTF-8 encoding before using locale specific
+ encoding.
+
.. exception:: NetrcParseError