[issue41063] Avoid using the locale encoding for open() in tests

2020-06-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +pipes uses text files and the locale encodig ___ Python tracker ___ ___ Python-bugs-l

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +distutils uses the locale encoding for the .pypirc file ___ Python tracker ___ ___ Py

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +cgi uses the locale encoding for log files, cgitb uses the locale encoding for log files ___ Python tracker ___

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +trace CLI reads source files using the locale encoding ___ Python tracker ___ ___ Pyt

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +pdb uses the locale encoding for .pdbrc ___ Python tracker ___ ___ Python-bugs-list m

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +argparse uses default encoding when read arguments from file ___ Python tracker ___ _

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Use non-ascii file names in tests by default ___ Python tracker ___ ___ Python-bugs-l

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-21 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Remove outdated tests for tp_print, pdb reads source files using the locale encoding, read_mime_types() should read the rule file using UTF-8, not the locale encoding ___ Python tracker

[issue41063] Avoid using the locale encoding for open() in tests

2020-06-21 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Many tests use open() with the locale encoding for writing or reading files. They are passed because the written and read data a ASCII, and file paths are ASCII. But they do not test the case of non-ASCII data and file paths. In general, most of uses of