Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
Closed
Description
This came up innumpy/numpy#30494
Currently the LOAD_ATTR specialization for modules does not happen when the module defines__getattr__. However as perhttps://peps.python.org/pep-0562/#specification,__getattr__ is executed only when the attribute is not present in module's dict so we can still specialize if the attribute is present in module's dict.