blueloveTH 2 yıl önce
ebeveyn
işleme
1972234f22
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 2 2
      src/common.h
  2. 2 2
      src/pocketpy.h

+ 2 - 2
src/common.h

@@ -29,13 +29,13 @@
 #include <variant>
 #include <type_traits>
 
-#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

+ 2 - 2
src/pocketpy.h

@@ -781,9 +781,9 @@ inline void VM::post_init(){
 
     CodeObject_ code = compile(kPythonLibs["builtins"], "<builtins>", EXEC_MODE);
     this->_exec(code, this->builtins);
-    code = compile(kPythonLibs["_dict"], "<builtins>", EXEC_MODE);
+    code = compile(kPythonLibs["_dict"], "<dict>", EXEC_MODE);
     this->_exec(code, this->builtins);
-    code = compile(kPythonLibs["_set"], "<builtins>", EXEC_MODE);
+    code = compile(kPythonLibs["_set"], "<set>", EXEC_MODE);
     this->_exec(code, this->builtins);
 
     // property is defined in builtins.py so we need to add it after builtins is loaded