#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 Changed 9 years ago by
Owner: | changed from nobody to Malcolm Box |
---|---|
Status: | new → assigned |
Type: | Uncategorized → Bug |
comment:2 Changed 9 years ago by
Has patch: | set |
---|---|
Owner: | Malcolm Box deleted |
Status: | assigned → new |
comment:3 Changed 9 years ago by
Triage Stage: | Unreviewed → Accepted |
---|
comment:4 Changed 9 years ago by
Owner: | set to Claude Paroz <claude@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Pull request: https://github.com/django/django/pull/2644