[Python-checkins] r69158 - python/trunk/Python/compile.c
benjamin.peterson
python-checkins at python.org
Sun Feb 1 00:54:38 CET 2009
Author: benjamin.peterson
Date: Sun Feb 1 00:54:38 2009
New Revision: 69158
Log:
more flags which only work for function blocks
Modified:
python/trunk/Python/compile.c
Modified: python/trunk/Python/compile.c
==============================================================================
--- python/trunk/Python/compile.c (original)
+++ python/trunk/Python/compile.c Sun Feb 1 00:54:38 2009
@@ -3794,13 +3794,11 @@
flags |= CO_NESTED;
if (ste->ste_generator)
flags |= CO_GENERATOR;
+ if (ste->ste_varargs)
+ flags |= CO_VARARGS;
+ if (ste->ste_varkeywords)
+ flags |= CO_VARKEYWORDS;
}
- if (ste->ste_varargs)
- flags |= CO_VARARGS;
- if (ste->ste_varkeywords)
- flags |= CO_VARKEYWORDS;
- if (ste->ste_generator)
- flags |= CO_GENERATOR;
/* (Only) inherit compilerflags in PyCF_MASK */
flags |= (c->c_flags->cf_flags & PyCF_MASK);
More information about the Python-checkins
mailing list