| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
protocol.
|
|
|
|
|
|
Was added in 44164c5c308da32a804dfb03ce0bffde2a6b4c56 but the
transaction.commit_unless_managed() line was removed in
ba5138b1c0253fcf390b7509ad7b954117b3be88; thus the test does nothing
but check that clear() runs.
|
|
|
|
|
|
|
|
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
|