I created the new topic about text
option.
This thread is spin off from "JEP 400: UTF-8 by Default" and future of Python subprocess module has text=False option. When text=True is passed, locale encoding is used for now. Instead of changing the default encoding, we can deprecate the text option. subprocess.check_output(["ls", "-l"], encoding="utf-8") is little longer than subprocess.check_output(["ls", "-l"], text=True). But the difference is smaller than difference between open(file) and open(file, encoding="utf-8"). How do you thi…