mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781)
This commit is contained in:
parent
49b26fa517
commit
fd0bc7e7f4
3 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue