The add() method of the locmem's CacheClass doesn't pickle the value
|Reported by:||anrienord@…||Owned by:||nobody|
|Component:||Core (Cache system)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The method doesn't pickle the value before passing it to its super-method. If the meaning of add() is the same as for add in Memcached (the method adds to the cache, only if it doesn't already exist), then it should cache the same (i. e. pickled) value as set().