commit | af84a88ef8b3288da528d2f52b7d3fbafb8dc8a6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Fri Aug 23 21:16:51 2019 +0200 |
committer | GitHub <noreply@github.com> | Fri Aug 23 21:16:51 2019 +0200 |
tree | b9f0a48a09eb7783ee3b35e9f2381ea2f791b9d9 | |
parent | 3921d12174c1998d9df7a08d036a7fef2d587a64 [diff] |
bpo-36763: PyConfig_Read() handles PySys_AddXOption() (GH-15431) (GH-15435) PyConfig_Read() is now responsible to handle early calls to PySys_AddXOption() and PySys_AddWarnOption(). Options added by PySys_AddXOption() are now handled the same way than PyConfig.xoptions and command line -X options. For example, PySys_AddXOption(L"faulthandler") enables faulthandler as expected. (cherry picked from commit 120b707a6d43452e067daa55a8fdca69f9424abc)