future.c: insert a cosmetic space.
pythonrun.c, run_pyc_file(): repair semantic error wrt CO_GENERATOR vs
CO_GENERATOR_ALLOWED.
diff --git a/Python/future.c b/Python/future.c
index f0960ae..fc0d748 100644
--- a/Python/future.c
+++ b/Python/future.c
@@ -32,7 +32,7 @@
if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) {
ff->ff_nested_scopes = 1;
} else if (strcmp(feature, FUTURE_GENERATORS) == 0) {
- ff->ff_generators= 1;
+ ff->ff_generators = 1;
} else if (strcmp(feature, "braces") == 0) {
PyErr_SetString(PyExc_SyntaxError,
"not a chance");
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index d5705b9..0412b7e 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1076,7 +1076,7 @@
if (v && flags) {
if (co->co_flags & CO_NESTED)
flags->cf_flags |= PyCF_NESTED_SCOPES;
- if (co->co_flags & CO_GENERATOR)
+ if (co->co_flags & CO_GENERATOR_ALLOWED)
flags->cf_flags |= PyCF_GENERATORS;
#if 0
fprintf(stderr, "run_pyc_file: nested_scopes: %d\n",