diff --git a/src/vm.cpp b/src/vm.cpp index 37fd9a0f..0771b616 100644 --- a/src/vm.cpp +++ b/src/vm.cpp @@ -247,7 +247,7 @@ namespace pkpy{ path = f_join(cpnts); } - std::cout << "py_import(" << path.escape() << ")" << std::endl; + // std::cout << "py_import(" << path.escape() << ")" << std::endl; StrName name(path); // path to StrName @@ -940,9 +940,8 @@ PyObject* VM::getattr(PyObject* obj, StrName name, bool throw_err){ return cls_var; } - if(is_non_tagged_type(obj, tp_module)){ - // try import and cache it! - } + // if(is_non_tagged_type(obj, tp_module)){ + // } if(throw_err) AttributeError(obj, name); return nullptr;