Deprecating django.utils.functional.cached_property() ?

82 views
Skip to first unread message

Carlton Gibson

unread,
Feb 4, 2021, 5:57:15 AM2/4/21
to Django developers (Contributions to Django itself)
functools.cached_property is available from Python 3.8. 

Is there any benefit to maintaining our own version, or should we deprecate django.utils.functional.cached_property() with Django 4.0? 

Thanks.
Carlton

Tim Graham

unread,
Feb 4, 2021, 6:00:22 AM2/4/21
to Django developers (Contributions to Django itself)
There's a ticket about it: https://code.djangoproject.com/ticket/30949

אורי

unread,
Feb 4, 2021, 6:03:10 AM2/4/21
to Django developers (Contributions to Django itself)
Is there any difference in the implementation between the two cached_property?


--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/dff05f70-4204-487d-a918-d4918d9b3f0en%40googlegroups.com.

Adam Johnson

unread,
Feb 4, 2021, 6:08:38 AM2/4/21
to django-d...@googlegroups.com

Carlton Gibson

unread,
Feb 4, 2021, 7:47:04 AM2/4/21
to django-d...@googlegroups.com
Thanks Tim. Trac’s search let me down there. 
Will review with a mind to accept. 

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.

Ibrahima Sekou Sissoko

unread,
Feb 4, 2021, 9:14:13 AM2/4/21
to django-d...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages