[New-bugs-announce] [issue41150] pipes uses text files and the locale encodig
Serhiy Storchaka
report at bugs.python.org
Sun Jun 28 12:22:22 EDT 2020
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
The pipes module was designed as a Python interface to Unix shell pipelines. In Python 2 it works with binary streams (on Unix). But in Python 3 it opens all files and pipes in text mode with the locale encoding. It makes it unapplicable for processing binary data and text data non-encodable with the locale encoding.
----------
components: Library (Lib)
messages: 372524
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: pipes uses text files and the locale encodig
type: behavior
versions: Python 3.10, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41150>
_______________________________________
More information about the New-bugs-announce
mailing list