def load_dynamic(space, w_modulename, filename, w_file=None): if not importing.has_so_extension(space): raise oefmt(space.w_ImportError, "Not implemented") return importing.load_c_extension(space, filename, space.text_w(w_modulename))
def load_dynamic(space, w_modulename, filename, w_file=None): if not space.config.objspace.usemodules.cpyext: raise OperationError(space.w_ImportError, space.wrap( "Not implemented")) importing.load_c_extension(space, filename, space.str_w(w_modulename)) return importing.check_sys_modules(space, w_modulename)
def load_dynamic(space, w_modulename, filename, w_file=None): if not importing.has_so_extension(space): raise oefmt(space.w_ImportError, "Not implemented") importing.load_c_extension(space, filename, space.str_w(w_modulename)) return importing.check_sys_modules(space, w_modulename)
def load_dynamic(space, w_modulename, filename, w_file=None): if not space.config.objspace.usemodules.cpyext: raise OperationError(space.w_ImportError, space.wrap("Not implemented")) importing.load_c_extension(space, filename, space.str_w(w_modulename)) return importing.check_sys_modules(space, w_modulename)