Re: CAS in cache framework

2014-01-17 Thread Curtis Maloney
Is it CAS specifically that you want? Or a Locking primitive? Or some other operation? -- Curtis On 18 January 2014 12:45, Russell Keith-Magee wrote: > > I can't see any reason that we *shouldn't* support it - it seems like a > reasonable primitive to support. > > The only real issue is ensur

Re: CAS in cache framework

2014-01-17 Thread Russell Keith-Magee
I can't see any reason that we *shouldn't* support it - it seems like a reasonable primitive to support. The only real issue is ensuring it either is, or can be, implemented on all backends and supported memcache libraries. If you can produce a patch that does this, I'd say it has a good chance of

Re: Patch fix for #21430 : Exception to be raised when unpickiling QuerySet across unsupported django version

2014-01-17 Thread Prasoon Shukla
Hi again. Just a heads up that the suggested changes have been made and the PR [0] needs a review. It appears that @akaarial (who suggested the changes) is not getting mails from GitHub. So, I'm resorting to commenting here for requesting a review. Thanks. [0] https://github.com/django/django/

CAS in cache framework

2014-01-17 Thread Alexey Moskvin
Hi all, there is a usefull (for me now :)) CAS operation in memcache: http://neopythonic.blogspot.ru/2011/08/compare-and-set-in-memcache.html, but I can't find it in django cache api. Are there any reasons for it not to be implemented there? Thank you! -- You received this message because you a