The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!

This commit is contained in:
Brett Cannon 2009-04-01 05:08:41 +00:00
parent 4ed72acd68
commit e3944a5e1e
13 changed files with 168 additions and 121 deletions

View file

@ -39,6 +39,8 @@ future_check_features(PyFutureFeatures *ff, stmt_ty s, const char *filename)
continue;
} else if (strcmp(feature, FUTURE_UNICODE_LITERALS) == 0) {
continue;
} else if (strcmp(feature, FUTURE_BARRY_AS_BDFL) == 0) {
ff->ff_features |= CO_FUTURE_BARRY_AS_BDFL;
} else if (strcmp(feature, "braces") == 0) {
PyErr_SetString(PyExc_SyntaxError,
"not a chance");