django.utils.module_loading.has_submodule is incorrectly implemented
The main problem is we assume a loader has find_module method, which is only true if the loader and finder are a single class, which is in no way guaranteed. Brett Cannon has suggested an alternate implementation, which basically needs to re-implement the Python import machinery: http://paste.pocoo.org/show/209115/ (I'll turn it into a proper patch soonish)
Has patch: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Moar lazy