@@ -56,5 +56,4 @@ __HELP:
return 0;
}
-#endif
-
+#endif
@@ -370,4 +370,4 @@ struct Py_<DummyModule> final: PyObject {
};
-} // namespace pkpy
+} // namespace pkpy
@@ -5,6 +5,7 @@
#include "obj.h"
#include "repl.h"
#include "iter.h"
+#include "base64.h"
#include "cffi.h"
#include "requests.h"
#include "io.h"
@@ -920,6 +921,7 @@ inline void VM::post_init(){
add_module_c(this);
add_module_gc(this);
add_module_random(this);
+ add_module_base64(this);
for(const char* name: {"this", "functools", "collections", "heapq", "bisect"}){
_lazy_modules[name] = kPythonLibs[name];
@@ -1048,6 +1050,4 @@ extern "C" {
std::string json = vm->read_output();
return strdup(json.c_str());
-}
+}
@@ -434,4 +434,4 @@ const StrName __and__ = StrName::get("__and__");
const StrName __or__ = StrName::get("__or__");
const StrName __xor__ = StrName::get("__xor__");