Opened 18 years ago
Closed 18 years ago
#3290 closed defect (fixed)
[patch] Dummy cache class doesn't conform to BaseCache interface
Description ¶
The Dummy cache (django.core.cache.backends.dummy) doesn't implement the BaseCache interface in two ways:
1) get() doesn't return the value of its default
argument.
2) get_many() doesn't return a dictionary.
This patch trivially fixes the Dummy class to behave properly.
Change History (3)
by , 18 years ago
Attachment: | 3290_DummyCache_patch.diff added |
---|
comment:1 by , 18 years ago
Summary: | Dummy cache class doesn't conform to BaseCache interface → [patch] Dummy cache class doesn't conform to BaseCache interface |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [4308]) Fixed #3290: DummyCache now conforms to the BaseCache interface correctly. Thanks, Ned Batchelder.