[django/django] 66880e: Fixed #22606 -- Locmemcache has_key() failed for i...

2 views
Skip to first unread message

GitHub

unread,
May 9, 2014, 1:47:08 PM5/9/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 66880e4cd128ea81ae53ac6f292f00c563521009
https://github.com/django/django/commit/66880e4cd128ea81ae53ac6f292f00c563521009
Author: Malcolm Box <mal...@tellybug.com>
Date: 2014-05-09 (Fri, 09 May 2014)

Changed paths:
M django/core/cache/backends/locmem.py
M tests/cache/tests.py

Log Message:
-----------
Fixed #22606 -- Locmemcache has_key() failed for infinite cache expiry

Refactored cache expiry logic for Locmemcache to make consistent across
all places where accessed, and correctly handle None as expiry time.


Reply all
Reply to author
Forward
0 new messages