8000 Mention clashing variables, remove old comment · python/cpython@560a100 · GitHub
[go: up one dir, main page]

Skip to content

Commit 560a100

Browse files
committed
Mention clashing variables, remove old comment
1 parent d1094d6 commit 560a100

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/whatsnew/3.9.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,8 @@ Changes in the Python API
828828
(Contributed by Serhiy Storchaka in :issue:`40257`.)
829829

830830
* The constant values of future flags in the :mod:`__future__` module
831-
is updated in order to prevent collision with compiler flags.
831+
is updated in order to prevent collision with compiler flags. Previously
832+
``PyCF_ALLOW_TOP_LEVEL_AWAIT`` was clashing with ``CO_FUTURE_DIVISION``.
832833
(Contributed by Batuhan Taskaya in :issue:`39562`)
833834

834835
CPython bytecode changes

Include/code.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ typedef struct {
8888
#define CO_ITERABLE_COROUTINE 0x0100
8989
#define CO_ASYNC_GENERATOR 0x0200
9090

91-
/* These are no longer used. */
9291
/* bpo-39562: These constant values are changed in Python 3.9
9392
to prevent collision with compiler flags. */
9493
#define CO_FUTURE_DIVISION 0x20000

0 commit comments

Comments
 (0)
0