Fix py_freeze! to run library with __main__ without __init__ by youknowone · Pull Request #4581 · RustPython/RustPython
if is_main && !code_map.contains_key(&parent) { // FIXME: the parent module doesn't need to be a full module copy. code_map.insert( parent.clone(), FrozenModule { code: code.clone(), package: true, }, ); } code_map.insert( module_name, FrozenModule {