Changes between Version 3 and Version 6 of Ticket #20584
- Timestamp:
- Jul 6, 2018, 4:33:37 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20584
- Property Status new → assigned
- Property Owner changed from to
-
Ticket #20584 – Description
v3 v6 1 When the `keys` parameter to `get_many()` is an iterator, its values will be consumed in a list comprehension , but then later the already-consumed iterator ispassed to `zip`.1 When the `keys` parameter to `get_many()` is an iterator, its values will be consumed in a list comprehension. However, later the already-consumed iterator is then passed to `zip`. 2 2 3 3 https://github.com/django/django/blob/master/django/core/cache/backends/memcached.py#L90 4 4 5 This causes a very confusing ` ValueError` which is raised when the cache backend attempts to map lower-level Memcache-backend cache keys back to higher-level Djanco cache keys.5 This causes a very confusing `KeyError` which is raised when the cache backend attempts to map lower-level Memcache-backend cache keys back to higher-level Djanco cache keys. 6 6 7 7 {{{