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
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 2020-06-28 16:22 by serhiy.storchaka.

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.
Date User Action Args
2020-06-28 16:23:08serhiy.storchakalinkissue41063 dependencies
2020-06-28 16:22:22serhiy.storchakacreate