Opened 4 years ago
Last modified 4 years ago
#33061 closed Bug
ValueError not raised for incr / decr with negative delta for some backends? — at Initial Version
Description ¶
I was looking at the code for some of the cache backends, and I noticed that in a couple places, it looks like ValueError
isn't being raised when it should be. This is in the incr() and decr() methods of BaseMemcachedCache
when delta
is less than zero. The commit where this code was added is here: https://github.com/django/django/commit/79dd751b0b9e428bf386d7304f442fa9815fdbba
Note:
See TracTickets
for help on using tickets.