mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
`frozen_modules` requires non-trivial changes in import (`imp.rs`) and from the doc it is deprecated since 3.3 which makes this feacture unlikely to be support on this project. So instead of implementing this feature, I make `frozen_modules` to raise exception if `frozen` is required. Other than that, all implementation is just like the upstream version (except one TODO comment to remind us there is something not fully supported)