File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -828,7 +828,8 @@ Changes in the Python API
828
828
(Contributed by Serhiy Storchaka in :issue: `40257 `.)
829
829
830
830
* 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 ``.
832
833
(Contributed by Batuhan Taskaya in :issue: `39562 `)
833
834
834
835
CPython bytecode changes
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ typedef struct {
88
88
#define CO_ITERABLE_COROUTINE 0x0100
89
89
#define CO_ASYNC_GENERATOR 0x0200
90
90
91
- /* These are no longer used. */
92
91
/* bpo-39562: These constant values are changed in Python 3.9
93
92
to prevent collision with compiler flags. */
94
93
#define CO_FUTURE_DIVISION 0x20000
You can’t perform that action at this time.
0 commit comments