| Age | Commit message (Collapse) | Author |
|
consistency with other backends.
Backport of abacd09f07f4bb0aa1a3a32bc6e3c3570fa76912 from master
|
|
default is a callable that returns None.
Backport of 4d60261b2a77460b4c127c3d832518b95e11a0ac from master
|
|
|
|
file is empty.
|
|
|
|
iter(dict) is equivalent to iter(dict.keys()).
|
|
|
|
Python docs say, "it's usually not necessary to invoke these methods directly."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
io.open() is an alias for open() on Python 3.
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
ConditionalGetMiddleware.
|
|
|
|
Not Modified" responses.
|
|
|
|
libmemcached manages its own connections, so isn't affected by refs #5133.
|
|
|
|
|
|
|
|
Previously, the MemcachedCache backend ignored `OPTIONS` and
PyLibMCCache used them to set pylibmc behaviors. Both backends now
pass `OPTIONS` as keyword arguments to the client constructors.
|
|
|
|
|
|
same test run.
|
|
The first half of the test fails when using pylibmc (so will need
to be skipped).
|
|
Since the `cull` and `zero_cull` test cache configs set `MAX_ENTRIES`
and `CULL_FREQUENCY` in `OPTIONS`, which are only intended for use with
the locmem, filesystem, and database backends. This prevents test
failures once refs #20892 is fixed.
|
|
|
|
|
|
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
|
|
|
|
|
|
|
|
cache keys.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|