| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ts (pythonGH-158825) When a module attribute was a lazy import placeholder, module attribute lookup called the module's __getattr__ before resolving it. This was needed while lazy from-imports published placeholders on the source module. That no longer happens, so the check only affected the module's own lazy imports: a catch-all __getattr__ hid them, unlike eager imports. Resolve the placeholder directly. (cherry picked from commit 56f9837) Co-authored-by: Brittany Reynoso <breynoso@meta.com>
| Back | FazBrowse Home | New Git URL |
When a module attribute was a lazy import placeholder, module attribute
lookup called the module's getattr before resolving it. This was
needed while lazy from-imports published placeholders on the source
module. That no longer happens, so the check only affected the module's
own lazy imports: a catch-all getattr hid them, unlike eager imports.
Resolve the placeholder directly.
(cherry picked from commit 56f9837)
Co-authored-by: Brittany Reynoso breynoso@meta.com