Explain is_package AttributeError in find_package
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When a PEP 302 import hook is used that doesn't implement .is_package() an AttributeError is raised. This looks like a bug in Flask. This change fixes that problem in the sense that it explains, that the AttributeError is intentional.
authored by Daniel Neuhäuser · committed by Daniel Neuhäuser · parent f606a6d · Browse files · 3 files+23 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+23 added−2 removed
- other:+23 added−2 removed