Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f415d5f commit 0090a4cCopy full SHA for 0090a4c
1 file changed
Include/code.h
@@ -39,12 +39,7 @@ typedef struct {
39
call frame it setup.
40
*/
41
#define CO_NOFREE 0x0040
42
-/* XXX Temporary hack. Until generators are a permanent part of the
43
- language, we need a way for a code object to record that generators
44
- were *possible* when it was compiled. This is so code dynamically
45
- compiled *by* a code object knows whether to allow yield stmts. In
46
- effect, this passes on the "from __future__ import generators" state
47
- in effect when the code block was compiled. */
+
48
#define CO_GENERATOR_ALLOWED 0x1000 /* no longer used in an essential way */
49
#define CO_FUTURE_DIVISION 0x2000
50
0 commit comments