<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pymemcache.git, branch release-143</title>
<subtitle>github.com: pinterest/pymemcache.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/'/>
<entry>
<title>Bump version to 1.4.3</title>
<updated>2017-04-04T20:09:03+00:00</updated>
<author>
<name>Nicholas Charriere</name>
<email>nicholas@pinterest.com</email>
</author>
<published>2017-04-04T20:09:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=9022f6fdde41a16acc3f2fdb306384e6c78fc8de'/>
<id>9022f6fdde41a16acc3f2fdb306384e6c78fc8de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Changelog changes for 1.4.3</title>
<updated>2017-04-04T20:08:29+00:00</updated>
<author>
<name>Nicholas Charriere</name>
<email>nicholas@pinterest.com</email>
</author>
<published>2017-04-04T20:08:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=81546758060851cf84365225df1ed50a281bba96'/>
<id>81546758060851cf84365225df1ed50a281bba96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #147 from gabelev/pooled_client_typo</title>
<updated>2017-04-04T20:03:33+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@users.noreply.github.com</email>
</author>
<published>2017-04-04T20:03:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=cd3cdfdf2d0028484d1e7223c33aa9c09b1c45eb'/>
<id>cd3cdfdf2d0028484d1e7223c33aa9c09b1c45eb</id>
<content type='text'>
Fixed a small typo in the doc string of the pooled client</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed a small typo in the doc string of the pooled client</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed a small typo in the doc string of the pooled client</title>
<updated>2017-04-04T19:43:53+00:00</updated>
<author>
<name>Gabe Levine</name>
<email>gabe@g4briel.com</email>
</author>
<published>2017-04-04T19:43:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=cd283397325a8b78b1933f4b55b90302a4849de6'/>
<id>cd283397325a8b78b1933f4b55b90302a4849de6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #146 from jogo/cachedump</title>
<updated>2017-03-29T18:57:11+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@users.noreply.github.com</email>
</author>
<published>2017-03-29T18:57:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=7bf9df8b782a72923a27b0075c4c00a2d66b7922'/>
<id>7bf9df8b782a72923a27b0075c4c00a2d66b7922</id>
<content type='text'>
Add support for stats cachedump</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for stats cachedump</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for stats cachedump</title>
<updated>2017-03-29T18:04:31+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@pinterest.com</email>
</author>
<published>2017-03-24T23:39:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=7351bdb331c32e42ce817ffad216dc875b25b912'/>
<id>7351bdb331c32e42ce817ffad216dc875b25b912</id>
<content type='text'>
Stats cachedump has a different input and output format compared to
most stats commands. Previously this would fail with a cryptic error.

Fixes issue #103
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stats cachedump has a different input and output format compared to
most stats commands. Previously this would fail with a cryptic error.

Fixes issue #103
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #145 from renstrom/return-default-value-instead-of-false-when-only-failed-clients</title>
<updated>2017-03-16T19:54:44+00:00</updated>
<author>
<name>Nicholas Charriere</name>
<email>nicholascharriere@gmail.com</email>
</author>
<published>2017-03-16T19:54:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=082f0745421a10bf834759e87ef46c2212698ec4'/>
<id>082f0745421a10bf834759e87ef46c2212698ec4</id>
<content type='text'>
Return default value instead of False when all clients are down</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return default value instead of False when all clients are down</pre>
</div>
</content>
</entry>
<entry>
<title>Return default value instead of False when all clients are down</title>
<updated>2017-03-14T13:40:31+00:00</updated>
<author>
<name>Peter Renström</name>
<email>renstrom.peter@gmail.com</email>
</author>
<published>2017-03-14T13:40:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=4782f033ba199e7bbc8b020061c3f75879d75c73'/>
<id>4782f033ba199e7bbc8b020061c3f75879d75c73</id>
<content type='text'>
The documentation for `ignore_exc` says it will treat memcache/network
errors as cache misses (i.e. `None` for reads and `False` for writes).

However the short-circuit path for when no client can be used (because
they're all marked as down/bad) always returns `False`. This change
change the behaviour to return each command's default value instead.

I actually stumbled upon this because I wanted to inspect some behaviour
in a system without cache so I stopped all memcached nodes. Our code
looked something like this:

    data = memcached_client.get(key)
    if data is None:
        return fetch_from_database(key)
    else:
        return json.loads(data)

What happened was that every once in a while I would see a stacktrace
because the `json.loads(data)` call would fail with a `TypeError`
because it tries to deserialize a bool (`False`).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The documentation for `ignore_exc` says it will treat memcache/network
errors as cache misses (i.e. `None` for reads and `False` for writes).

However the short-circuit path for when no client can be used (because
they're all marked as down/bad) always returns `False`. This change
change the behaviour to return each command's default value instead.

I actually stumbled upon this because I wanted to inspect some behaviour
in a system without cache so I stopped all memcached nodes. Our code
looked something like this:

    data = memcached_client.get(key)
    if data is None:
        return fetch_from_database(key)
    else:
        return json.loads(data)

What happened was that every once in a while I would see a stacktrace
because the `json.loads(data)` call would fail with a `TypeError`
because it tries to deserialize a bool (`False`).
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #143 from pinterest/release-142</title>
<updated>2017-02-23T17:59:44+00:00</updated>
<author>
<name>Nicholas Charriere</name>
<email>nicholascharriere@gmail.com</email>
</author>
<published>2017-02-23T17:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=9b92bb726ae348eb3325bfdd6635d79f1b2813e2'/>
<id>9b92bb726ae348eb3325bfdd6635d79f1b2813e2</id>
<content type='text'>
Release 142</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Release 142</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to 1.4.2</title>
<updated>2017-02-23T17:52:27+00:00</updated>
<author>
<name>Nicholas Charriere</name>
<email>nicholas@pinterest.com</email>
</author>
<published>2017-02-23T17:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=6b728cd7319009ae444ac64a8ec85e8aa0f17ba6'/>
<id>6b728cd7319009ae444ac64a8ec85e8aa0f17ba6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
