From 1972234f221637030d565e3bc94326d6fabdabc0 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Mon, 17 Apr 2023 19:59:55 +0800 Subject: [PATCH] ... --- src/common.h | 4 ++-- src/pocketpy.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common.h b/src/common.h index 50079f26..3c73be4d 100644 --- a/src/common.h +++ b/src/common.h @@ -29,13 +29,13 @@ #include #include -#define PK_VERSION "0.9.8" +#define PK_VERSION "0.9.9" // debug macros #define DEBUG_NO_BUILTIN_MODULES 0 #define DEBUG_EXTRA_CHECK 1 #define DEBUG_DIS_EXEC 0 -#define DEBUG_CEVAL_STEP 0 +#define DEBUG_CEVAL_STEP 1 #define DEBUG_CEVAL_STEP_MIN 0 #define DEBUG_FULL_EXCEPTION 0 #define DEBUG_MEMORY_POOL 0 diff --git a/src/pocketpy.h b/src/pocketpy.h index fed0c9f1..821ff898 100644 --- a/src/pocketpy.h +++ b/src/pocketpy.h @@ -781,9 +781,9 @@ inline void VM::post_init(){ CodeObject_ code = compile(kPythonLibs["builtins"], "", EXEC_MODE); this->_exec(code, this->builtins); - code = compile(kPythonLibs["_dict"], "", EXEC_MODE); + code = compile(kPythonLibs["_dict"], "", EXEC_MODE); this->_exec(code, this->builtins); - code = compile(kPythonLibs["_set"], "", EXEC_MODE); + code = compile(kPythonLibs["_set"], "", EXEC_MODE); this->_exec(code, this->builtins); // property is defined in builtins.py so we need to add it after builtins is loaded