We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c54494 commit a3dc98dCopy full SHA for a3dc98d
vm/src/stdlib/imp.rs
@@ -77,6 +77,10 @@ fn imp_is_frozen_package(_name: PyStringRef, _vm: &VirtualMachine) -> bool {
77
false
78
}
79
80
+fn imp_fix_co_filename(_code: PyObjectRef, _path: PyStringRef, _vm: &VirtualMachine) {
81
+ // TODO:
82
+}
83
+
84
pub fn make_module(vm: &VirtualMachine) -> PyObjectRef {
85
let ctx = &vm.ctx;
86
let module = py_module!(vm, "_imp", {
@@ -91,6 +95,7 @@ pub fn make_module(vm: &VirtualMachine) -> PyObjectRef {
91
95
"get_frozen_object" => ctx.new_rustfunc(imp_get_frozen_object),
92
96
"init_frozen" => ctx.new_rustfunc(imp_init_frozen),
93
97
"is_frozen_package" => ctx.new_rustfunc(imp_is_frozen_package),
98
+ "_fix_co_filename" => ctx.new_rustfunc(imp_fix_co_filename),
94
99
});
100
101
module
0 commit comments