#30950: Replace __file__ with importlib.resources
---------------------------------+-----------------------------------------
Reporter: John Vandenberg | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: freezers | 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 Joachim Jablon):
I could be wrong but I believe that whatever we do to tackle this ticket,
it's important ensure that `__file__` isn't added back by new
contributions in the future. Ideally this shouldn't be a burden on
reviewers, there should be a linting rule, or a test or something that
ensures that any contributions following the resolution of this ticket
isn't adding this back.
--
Ticket URL: <https://code.djangoproject.com/ticket/30950#comment:10>
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/0107018962d05e23-57546000-2d0c-450c-b7b0-dd064f6b5827-000000%40eu-central-1.amazonses.com.