#30949: use functools.cached_property over
django.utils.functional.cached_property
where available (py3.8+)
---------------------------------+--------------------------------------
Reporter: Thomas Grainger | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by Simon Charette):
FWIW `functools.cached_property` adds a `RLock` acquisition overhead for
thread safety which is not something needed by most internal Django's
usage and third party ones from my personal experience.
If we were to proceed with this patch we should measure the impact of this
thread safety mechanism first and also document it.
--
Ticket URL: <https://code.djangoproject.com/ticket/30949#comment:2>
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/067.67725da1fdfbbc4c3834d78339bff992%40djangoproject.com.