[New-bugs-announce] [issue43735] os.popen() and pipes uses locale encoding

Inada Naoki report at bugs.python.org
Mon Apr 5 09:28:22 EDT 2021


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

os.popen() and pipes module doesn't have `encoding` parameter. They use the default (locale) encoding implicitly.

As PEP 597, subprocess module won't emit EncodingWarning for PIPEs in Python 3.10.
Like that, we should just add `encoding=None` parameter but don't emit  EncodingWarning.

----------
components: Library (Lib)
messages: 390234
nosy: methane
priority: normal
severity: normal
status: open
title: os.popen() and pipes uses locale encoding
versions: Python 3.10

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


More information about the New-bugs-announce mailing list