#23105: Cosmetic change on lru_cache backport
--------------------------------------+-----------------------
Reporter: areski | Owner: areski
Type: Cleanup/optimization | Status: new
Component: Utilities | Version: master
Severity: Normal | Keywords: lru_cache
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+-----------------------
A backport for lru_cache has been imported to Django:
https://github.com/django/django/blob/master/django/utils/lru_cache.py
Unfortunately when importing it, we added an non-necessary extra indent.
FYI, lru_cache last backport is now
https://bitbucket.org/jaraco/backports.functools_lru_cache/
To improve the code style, I moved the backport to a separate file, that
way the code will be cleaner and it will be easier to keep in sync with
the original code on bitbucket.
--
Ticket URL: <https://code.djangoproject.com/ticket/23105>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.3bf648d804c688c1f6fda87b18f93fcb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.