[issue41136] argparse uses default encoding when read arguments from file

2020-07-11 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +20592 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21444 ___ Python tracker

[issue41136] argparse uses default encoding when read arguments from file

2020-06-28 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41136] argparse uses default encoding when read arguments from file

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The fromfile_prefix_chars option allows you to read arguments from file. But open() without explicit encoding is used for this. Therefore the result is depending on the current locale or the PYTHONIOENCODING environment variable. On Linux this is rare a