This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pipes uses text files and the locale encodig
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: serhiy.storchaka
Priority: normal Keywords:

Created on 2020-06-28 16:22 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg372524 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-06-28 16:22
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.
History
Date User Action Args
2022-04-11 14:59:33adminsetgithub: 85322
2020-06-28 16:23:08serhiy.storchakalinkissue41063 dependencies
2020-06-28 16:22:22serhiy.storchakacreate