summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 7e5d2f1..9989a09 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -1293,6 +1293,11 @@ Changes in the Python API
Changes in the C API
--------------------
+* The :c:type:`PyCompilerFlags` structure gets a new *cf_feature_version*
+ field. It should be initialized to ``PY_MINOR_VERSION``. The field is ignored
+ by default, it is used if and only if ``PyCF_ONLY_AST`` flag is set in
+ *cf_flags*.
+
* The :c:func:`PyEval_ReInitThreads` function has been removed from the C API.
It should not be called explicitly: use :c:func:`PyOS_AfterFork_Child`
instead.