summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-08-23 17:03:08 (GMT)
committerGitHub <noreply@github.com>2019-08-23 17:03:08 (GMT)
commit120b707a6d43452e067daa55a8fdca69f9424abc (patch)
tree1a58f651b55fde0a820646fdbf8b568657883273 /Misc/NEWS.d/next/C API
parent1beb7c3de9c3d0e802e4267a11d937e8f024d661 (diff)
downloadcpython-120b707a6d43452e067daa55a8fdca69f9424abc.zip
cpython-120b707a6d43452e067daa55a8fdca69f9424abc.tar.gz
cpython-120b707a6d43452e067daa55a8fdca69f9424abc.tar.bz2
bpo-36763: PyConfig_Read() handles PySys_AddXOption() (GH-15431)
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.
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2019-08-23-18-45-11.bpo-36763.q3Kh8Z.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-08-23-18-45-11.bpo-36763.q3Kh8Z.rst b/Misc/NEWS.d/next/C API/2019-08-23-18-45-11.bpo-36763.q3Kh8Z.rst
new file mode 100644
index 0000000..500cdbf
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2019-08-23-18-45-11.bpo-36763.q3Kh8Z.rst
@@ -0,0 +1,2 @@
+Options added by ``PySys_AddXOption()`` are now handled the same way than
+``PyConfig.xoptions`` and command line ``-X`` options.