﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33061	ValueError not raised for incr / decr with negative delta for some backends?	Chris Jerdonek	nobody	"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 [https://github.com/django/django/blob/3445c50a3affc5ae7b1c2712a139d4a5105aeaf5/django/core/cache/backends/memcached.py#L111-L112 incr()] and [https://github.com/django/django/blob/3445c50a3affc5ae7b1c2712a139d4a5105aeaf5/django/core/cache/backends/memcached.py#L128-L129 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
"	Bug	new	Core (Cache system)	3.2	Normal				Unreviewed	0	0	0	0	1	0
