-
Notifications
You must be signed in to change notification settings - Fork 29
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
lazy_module breaks built-in modules #4
Comments
Thanks for this heads up. |
I can duplicate this error. I use ipython which imports many packages so I was not seeing this error and it does not occur with the cmd module I've been using, in case this helps:
|
Ok, after some research I can see this is triggered not because those are builtins but because they are C-extensions. I can trigger the faulty behavior with a non builtin C-extension. Trying to figure how I can tell the reloader to behave properly in these cases... |
Are there any news on that? |
@mnmelo any updates? This would be very useful if it worked on my cpp extension module.... |
lazy_module
breaks built-in modules (i.e. modules listed insys.builtin_module_names
) that haven't been loaded yet:The same happens, for example, with
zlib
andpwd
(but not withsys
, because it's already loaded).The text was updated successfully, but these errors were encountered: