Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add _imp._override_frozen_modules_for_tests #4540

Closed
Tracked by #4537 ...
youknowone opened this issue Feb 21, 2023 · 0 comments · Fixed by #4555
Closed
Tracked by #4537 ...

Add _imp._override_frozen_modules_for_tests #4540

youknowone opened this issue Feb 21, 2023 · 0 comments · Fixed by #4555
Labels

Comments

@youknowone
Copy link
Member

youknowone commented Feb 21, 2023

https://github.com/RustPython/RustPython/pull/4537/files#diff-9164b29482098900098a8f331d75f919a81d6e8df1f3861eaacdb10967dd7257R105

CPython source code: https://github.com/python/cpython/blob/v3.11.2/Python/import.c#L2291-L2310

We need to investigate what override_frozen_modules does in CPython and make something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant