[New-bugs-announce] [issue43722] PEP 597: FileCookieJar uses locale encoding

Inada Naoki report at bugs.python.org
Sat Apr 3 20:21:58 EDT 2021


New submission from Inada Naoki <songofacandy at gmail.com>:

During fixing EncodingWarning in stdlibs, I found FileCookieJar, LWPCookieJar, and MozillaCookieJar use locale encoding for cookie files.

I don't know much about cookie file format. If locale encoding is right encoding, we can just use `encoding="locale"` since Python 3.10.

Or cookie files should be encoded in UTF-8, or latin-1?

----------
components: Library (Lib)
messages: 390160
nosy: methane
priority: normal
severity: normal
status: open
title: PEP 597: FileCookieJar uses locale encoding
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43722>
_______________________________________


More information about the New-bugs-announce mailing list