summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorBatuhan Taşkaya <batuhanosmantaskaya@gmail.com>2020-04-22 16:09:03 (GMT)
committerGitHub <noreply@github.com>2020-04-22 16:09:03 (GMT)
commit4454057269b995341b04d13f0bf97f96080f27d0 (patch)
treefda84a982bce4372ad398afeac039f03b4d29d2c /Doc/whatsnew
parent9b498939009f49b8c772c89e8fc80efbfd8afcb5 (diff)
downloadcpython-4454057269b995341b04d13f0bf97f96080f27d0.zip
cpython-4454057269b995341b04d13f0bf97f96080f27d0.tar.gz
cpython-4454057269b995341b04d13f0bf97f96080f27d0.tar.bz2
bpo-39562: Prevent collision of future and compiler flags (GH-19230)
The constant values of future flags in the __future__ module is updated in order to prevent collision with compiler flags. Previously PyCF_ALLOW_TOP_LEVEL_AWAIT was clashing with CO_FUTURE_DIVISION.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 20ebe92..8064785 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -832,6 +832,10 @@ Changes in the Python API
inherit from it should have this method defined.
(Contributed by Kyle Stanley in :issue:`34037`.)
+* The constant values of future flags in the :mod:`__future__` module
+ is updated in order to prevent collision with compiler flags. Previously
+ ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` was clashing with ``CO_FUTURE_DIVISION``.
+ (Contributed by Batuhan Taskaya in :issue:`39562`)
CPython bytecode changes
------------------------