#14703: memcached.set_many() should not special case unicode data --------------------------+------------------------------------------------- Reporter: gsakkis | Owner: nobody Status: new | Milestone: 1.3 Component: Cache system | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | --------------------------+------------------------------------------------- memcached.set_many() tries to be "smart" by explicitly checking for unicode values and encoding them as utf-8; that's not even a default value, it is actually hardcoded. The memcached.set() on the other hand just passes the value to the underlying memcached client. The bottom line is that the basic assumption that ''cache.set_many() is equivalent to calling cache.set() multiple times (but usually faster)'' is broken.
FWIW I was bitten by this in real-world code, it's not a theoretical problem without actual use cases. -- Ticket URL: <http://code.djangoproject.com/ticket/14703> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
