summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.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/pythonrun.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/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 27c9d23..9159b4c 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1011,6 +1011,8 @@ static int PARSER_FLAGS(PyCompilerFlags *flags)
parser_flags |= PyPARSE_DONT_IMPLY_DEDENT;
if (flags->cf_flags & PyCF_IGNORE_COOKIE)
parser_flags |= PyPARSE_IGNORE_COOKIE;
+ if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL)
+ parser_flags |= PyPARSE_BARRY_AS_BDFL;
return parser_flags;
}