]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39562: Prevent collision of future and compiler flags (GH-19230)
authorBatuhan Taşkaya <batuhanosmantaskaya@gmail.com>
Wed, 22 Apr 2020 16:09:03 +0000 (19:09 +0300)
committerGitHub <noreply@github.com>
Wed, 22 Apr 2020 16:09:03 +0000 (18:09 +0200)
commit4454057269b995341b04d13f0bf97f96080f27d0
treefda84a982bce4372ad398afeac039f03b4d29d2c
parent9b498939009f49b8c772c89e8fc80efbfd8afcb5
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.
Doc/whatsnew/3.9.rst
Include/code.h
Include/compile.h
Lib/__future__.py
Lib/test/test_future.py
Python/bltinmodule.c