#30950: Replace __file__ with importlib.resources
---------------------------------+-----------------------------------------
Reporter: John Vandenberg | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------
Comment (by William Schwartz):
Django can add support for environments supporting
`pkgutil.iter_modules()` much more quickly than it can add support for
more restrictive environments. So I am working on adding `iter_modules()`
support to PyOxidizer: https://github.com/indygreg/PyOxidizer/pull/343
I'm not sure whether `iter_modules()` works in other environments such as
Nuitka or cx_Freeze.
--
Ticket URL: <https://code.djangoproject.com/ticket/30950#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.43ca0a8376920922ab66d19cbcc0d774%40djangoproject.com.