Hi Shane,<br><br><div class="gmail_quote">2010/9/15 Shane Hathaway <span dir="ltr">&lt;<a href="mailto:shane@hathawaymix.org">shane@hathawaymix.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

This is a bug in python-memcached.  Under some circumstances, _val_to_store_info() returns 0 (see line 713), yet set_multi(), line 643, is not prepared to handle that return value.  You would be doing a good service if you reported this to the authors.<br>

<br>
I always use pylibmc.  It&#39;s slightly harder to set up, but in my experience, it&#39;s fast and reliable.  If you use it, be </blockquote><div><br><br>Thanks alot! Will move to pylibmc. I actually thought I was choosing stability over speed by going with python-memcached instead of a wrapper around a C-library (fear of potential issues with concurrency and memory leaks). <br>
<br>/Anton<br>
</div></div>