summaryrefslogtreecommitdiffstats
path: root/Python/future.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-04-01 05:08:41 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-04-01 05:08:41 (GMT)
commite3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d (patch)
treebfe3d2c8bdb94c077080240cc73717e16dfcd088 /Python/future.c
parent4ed72acd68a1a1d90946e189c94b7d656719da45 (diff)
downloadcpython-e3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d.zip
cpython-e3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d.tar.gz
cpython-e3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d.tar.bz2
The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!
Diffstat (limited to 'Python/future.c')
-rw-r--r--Python/future.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/future.c b/Python/future.c
index 1a2db1b..4178541 100644
--- a/Python/future.c
+++ b/Python/future.c
@@ -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");