Emre Yilmaz 9733ff5f99 [1.9.x] Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend.
This also fixes a possible data eviction race condition between
setting and getting a key. Another thread could remove the key
before get_and_set() accesses it again. In this case, now the
default value will be returned instead of None.

Backport of 8e838d9c869083597dc9e161ae2fe37acaa90de9 from master
2015-12-04 12:28:34 -05:00
..
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00