Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Drop repoze.lru on Python 3 #3140
Thanks! One of the maintainers will need to do some legwork to determine if this library actually covers the required features or not.
Environment markers are the correct way to handle conditional dependencies right now. For example: https://github.com/Pylons/pyramid_debugtoolbar/blob/7c32a1fc909e182f2f26ed5cef680784ffde6263/setup.py#L77
They both implement the same thing (an LRU cache for function results), but indeed have subtle differences in behaviour, which would be better checked by a maintainer.
One such difference that I can see from a quick glance at the repoze.lru code is that it seems to allow expiring things after a certain time (with its
However the subset of the API that is used in the Pyramid code base seems to work similarly in both cases.
They also handle differently a