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.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
PR: https://github.com/django/django/pull/2973
--
Ticket URL: <https://code.djangoproject.com/ticket/23105#comment:1>
Comment (by bmispelon):
What new features or bug fixes are we missing by using the "old" version?
From what I can tell, the original version was authored by Raymond
Hettinger (who wrote the original implementation) whereas this repository
is maintained by another person. How are the two projects related?
--
Ticket URL: <https://code.djangoproject.com/ticket/23105#comment:2>
Comment (by areski):
It's likely that Raymond Hettinger won't be supporting this code from the
Activestate website.
The code has been ported unchanged to bitbucket by a different user, this
may change if someone come with some optimization or bugs fix, but it is
not the case so far.
Feel free to close the ticket if it's irrelevant or if it doesn't improve
Django code readability.
--
Ticket URL: <https://code.djangoproject.com/ticket/23105#comment:3>
Comment (by areski):
It actually fix compatibility with Python2.6:
http://code.activestate.com/recipes/578078-py26-and-py30-backport-of-
python-33s-lru-cache/#c3
But as Python2.6 support is dropped in Django 1.7, this doesnt give any
value
--
Ticket URL: <https://code.djangoproject.com/ticket/23105#comment:4>
* status: new => closed
* resolution: => wontfix
Comment:
I don't think that change is worth it.
We've already dropped support for Python 2.6 and eventually, we'll also
drop support for 2.7, at which point we'll be able to delete that file
altogether.
Marking this as `wontfix` consequently.
--
Ticket URL: <https://code.djangoproject.com/ticket/23105#comment:5>