Opened 5 years ago
Last modified 10 days ago
#30949 closed Cleanup/optimization
use functools.cached_property over django.utils.functional.cached_property where available (py3.8+) — at Version 1
Description (last modified by ) ¶
functools gains cached_property in Python 3.8: https://bugs.python.org/issue21145
django.utils.functional.cached_property
should import it and deprecate its own implementation
Note:
See TracTickets
for help on using tickets.