diff options
author | Brett Cannon <brett@python.org> | 2016-09-05 15:33:46 -0700 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2016-09-05 15:33:46 -0700 |
commit | 0b77d53b22873d0be290d30321a03f4769489ddc (patch) | |
tree | 723646633d597d1e0514f241d8e8489851ebb502 /Python/pystate.c | |
parent | dfedea3589a6b1ec4f5add17bc1f04e09f82cf55 (diff) | |
download | cpython-0b77d53b22873d0be290d30321a03f4769489ddc.tar.gz |
Implement the frame evaluation API aspect of PEP 523.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 1 |
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; |