Deprecating django.utils.functional.cached_property() ?

已查看 82 次
跳至第一个未读帖子

Carlton Gibson

未读,
2021年2月4日 05:57:152021/2/4
收件人 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

未读,
2021年2月4日 06:00:222021/2/4
收件人 Django developers (Contributions to Django itself)
There's a ticket about it: https://code.djangoproject.com/ticket/30949

אורי

未读,
2021年2月4日 06:03:102021/2/4
收件人 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

未读,
2021年2月4日 06:08:382021/2/4
收件人 django-d...@googlegroups.com

Carlton Gibson

未读,
2021年2月4日 07:47:042021/2/4
收件人 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

未读,
2021年2月4日 09:14:132021/2/4
收件人 django-d...@googlegroups.com
回复全部
回复作者
转发
0 个新帖子