summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-09-05 15:33:46 -0700
committerBrett Cannon <brett@python.org>2016-09-05 15:33:46 -0700
commit3cebf9387279d8b21369f55e205392199ad9b1a2 (patch)
tree3ab40b5c47ee4876a46d2ca6920b402a0e63cd16 /Python/pystate.c
parent625cb379f7e77457ca5be94e175d4b71a1d8989f (diff)
downloadcpython-git-3cebf9387279d8b21369f55e205392199ad9b1a2.tar.gz
Implement the frame evaluation API aspect of PEP 523.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 25110b287f..61bda2a9fb 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -91,6 +91,7 @@ PyInterpreterState_New(void)
interp->fscodec_initialized = 0;
interp->importlib = NULL;
interp->import_func = NULL;
+ interp->eval_frame = _PyEval_EvalFrameDefault;
#ifdef HAVE_DLOPEN
#if HAVE_DECL_RTLD_NOW
interp->dlopenflags = RTLD_NOW;