#22606 closed Bug (fixed)
Locmemcache has_key fails when cache expiry is None (infinite)
Reported by: | Malcolm Box | Owned by: | |
---|---|---|---|
Component: | Core (Cache system) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If cache is the locmemcache:
>>> cache.set("key", "value", None) >>> cache.has_key("key") False
Reported by Piotr Gosławski on django-dev
Change History (5)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Type: | Uncategorized → Bug |
comment:2 by , 11 years ago
Has patch: | set |
---|---|
Owner: | removed |
Status: | assigned → new |
comment:3 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:4 by , 11 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Pull request: https://github.com/django/django/pull/2644