diff options
author | Guido van Rossum <guido@python.org> | 2021-06-23 16:51:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 16:51:44 (GMT) |
commit | 769d7d0c66c5b86e2dd29b9ce67ac2daaab1bb38 (patch) | |
tree | 48ceed799fea9009441a6eb71c97cdee08e16eb5 /Include/cpython/code.h | |
parent | 34356a0a4bad0be124ae892cda6c30a38f5f1061 (diff) | |
download | cpython-769d7d0c66c5b86e2dd29b9ce67ac2daaab1bb38.zip cpython-769d7d0c66c5b86e2dd29b9ce67ac2daaab1bb38.tar.gz cpython-769d7d0c66c5b86e2dd29b9ce67ac2daaab1bb38.tar.bz2 |
bpo-43693 Get rid of CO_NOFREE -- it's unused (GH-26839)
All uses of this flag are either setting it
or in doc or tests for it. So we should be
able to get rid of it completely.
Diffstat (limited to 'Include/cpython/code.h')
-rw-r--r-- | Include/cpython/code.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Include/cpython/code.h b/Include/cpython/code.h index 77801dc..ed9ac2e 100644 --- a/Include/cpython/code.h +++ b/Include/cpython/code.h @@ -112,12 +112,6 @@ struct PyCodeObject { #define CO_VARKEYWORDS 0x0008 #define CO_NESTED 0x0010 #define CO_GENERATOR 0x0020 -/* The CO_NOFREE flag is set if there are no free or cell variables. - This information is redundant, but it allows a single flag test - to determine whether there is any extra work to be done when the - call frame it setup. -*/ -#define CO_NOFREE 0x0040 /* The CO_COROUTINE flag is set for coroutine functions (defined with ``async def`` keywords) */ |