]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Export three optimization (fast locals) flags
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 16 Apr 2001 18:42:13 +0000 (18:42 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 16 Apr 2001 18:42:13 +0000 (18:42 +0000)
Modules/symtablemodule.c

index 21ce11c9b6fbaf2765a6593b2a997a973641aa14..24525212f3430a7f2559ddb050eebc26b9166e71 100644 (file)
@@ -65,6 +65,10 @@ init_symtable(void)
        PyModule_AddIntConstant(m, "TYPE_CLASS", TYPE_CLASS);
        PyModule_AddIntConstant(m, "TYPE_MODULE", TYPE_MODULE);
 
+       PyModule_AddIntConstant(m, "OPT_IMPORT_STAR", OPT_IMPORT_STAR);
+       PyModule_AddIntConstant(m, "OPT_EXEC", OPT_EXEC);
+       PyModule_AddIntConstant(m, "OPT_BARE_EXEC", OPT_BARE_EXEC);
+
        PyModule_AddIntConstant(m, "LOCAL", LOCAL);
        PyModule_AddIntConstant(m, "GLOBAL_EXPLICIT", GLOBAL_EXPLICIT);
        PyModule_AddIntConstant(m, "GLOBAL_IMPLICIT", GLOBAL_IMPLICIT);