<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pymemcache.git, branch v3.x</title>
<subtitle>github.com: pinterest/pymemcache.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/'/>
<entry>
<title>Actually bump the release to 3.5.2</title>
<updated>2022-04-01T15:50:24+00:00</updated>
<author>
<name>Jon Parise</name>
<email>jon@pinterest.com</email>
</author>
<published>2022-04-01T15:50:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=6e83416b7da74dc1258f1631b961b664304c42a3'/>
<id>6e83416b7da74dc1258f1631b961b664304c42a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare the 3.5.2 release</title>
<updated>2022-04-01T15:47:49+00:00</updated>
<author>
<name>Jon Parise</name>
<email>jon@pinterest.com</email>
</author>
<published>2022-04-01T15:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=edb8754d01c3c56445c68c5ec9ae476a8a34fb17'/>
<id>edb8754d01c3c56445c68c5ec9ae476a8a34fb17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle a blank stat value (#388)</title>
<updated>2022-04-01T15:46:18+00:00</updated>
<author>
<name>liquidpele</name>
<email>reecepegues+github@gmail.com</email>
</author>
<published>2022-03-25T20:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=7acc9de41ea1f57aa1c1d995d1313b06295bb767'/>
<id>7acc9de41ea1f57aa1c1d995d1313b06295bb767</id>
<content type='text'>
A stat with a blank value makes the .stats() call fail with index error.

```
memcache_connection.stats()
File "/lib/python3.6/site-packages/pymemcache/client/base.py", line 741, in stats
result = self._fetch_cmd(b'stats', args, False)
File "/lib/python3.6/site-packages/pymemcache/client/base.py", line 921, in _fetch_cmd
result[key_value[1]] = key_value[2]
IndexError: list index out of range
```

The line in question we saw that caused this:

```
b'STAT ep_initfile '
```

This fixes things to no longer blow up.   I chose to use a blank binary string instead of None because I suspect other code might make assumptions about the data being binary strings due to this bug.

Co-authored-by: reecepeg &lt;reecepeg@amazon.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A stat with a blank value makes the .stats() call fail with index error.

```
memcache_connection.stats()
File "/lib/python3.6/site-packages/pymemcache/client/base.py", line 741, in stats
result = self._fetch_cmd(b'stats', args, False)
File "/lib/python3.6/site-packages/pymemcache/client/base.py", line 921, in _fetch_cmd
result[key_value[1]] = key_value[2]
IndexError: list index out of range
```

The line in question we saw that caused this:

```
b'STAT ep_initfile '
```

This fixes things to no longer blow up.   I chose to use a blank binary string instead of None because I suspect other code might make assumptions about the data being binary strings due to this bug.

Co-authored-by: reecepeg &lt;reecepeg@amazon.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare the 3.5.1 release</title>
<updated>2022-02-20T20:15:00+00:00</updated>
<author>
<name>Jon Parise</name>
<email>jon@pinterest.com</email>
</author>
<published>2022-02-20T20:15:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=83a2056281576e2ebe22920d36bed71736b236d8'/>
<id>83a2056281576e2ebe22920d36bed71736b236d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support noreply for hash flush_all</title>
<updated>2022-02-20T20:10:20+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@pinterest.com</email>
</author>
<published>2022-01-21T17:34:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=4048ab1a5f0b8839f59bc4c3a4327639c3677adb'/>
<id>4048ab1a5f0b8839f59bc4c3a4327639c3677adb</id>
<content type='text'>
The regular client supports noreply so pass args, kwargs like for other
functions in hash client

Fixes issue #360
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The regular client supports noreply so pass args, kwargs like for other
functions in hash client

Fixes issue #360
</pre>
</div>
</content>
</entry>
<entry>
<title>Return default from hash client when using positional argument (#354)</title>
<updated>2022-02-20T20:08:42+00:00</updated>
<author>
<name>Ludwig Hähne</name>
<email>lhaehne@gmail.com</email>
</author>
<published>2021-10-15T13:28:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=828394ffabfdeadbae96cc167d3953e71a050a2a'/>
<id>828394ffabfdeadbae96cc167d3953e71a050a2a</id>
<content type='text'>
When using HashClient with ignore_exc, get would always return
None if no server is available and the default is passed as a
positional argument. The other clients return the default
value in this case. An earlier fix only had the desired effect when
passing default as a keyword argument.

For example, Django passes the default as a positional argument.

Return the default value so HashClient behaves like the other
clients.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using HashClient with ignore_exc, get would always return
None if no server is available and the default is passed as a
positional argument. The other clients return the default
value in this case. An earlier fix only had the desired effect when
passing default as a keyword argument.

For example, Django passes the default as a positional argument.

Return the default value so HashClient behaves like the other
clients.</pre>
</div>
</content>
</entry>
<entry>
<title>Return default from hash client (#352)</title>
<updated>2022-02-20T20:08:21+00:00</updated>
<author>
<name>Ludwig H</name>
<email>lhaehne@gmail.com</email>
</author>
<published>2021-10-04T20:51:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=4cdf69d4d493dd7f806ee10e25f164b9c0d6c63b'/>
<id>4cdf69d4d493dd7f806ee10e25f164b9c0d6c63b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use default for get ignore_exc</title>
<updated>2022-02-20T20:03:14+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@pinterest.com</email>
</author>
<published>2021-09-22T19:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=a5b349567920b4f4ad852e63911a3f71349949c7'/>
<id>a5b349567920b4f4ad852e63911a3f71349949c7</id>
<content type='text'>
ignore_exc should treat an error as a cache miss and default specifies
what should be returned on a miss.

Fixes issue #350
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ignore_exc should treat an error as a cache miss and default specifies
what should be returned on a miss.

Fixes issue #350
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: Fix a few typos (#348)</title>
<updated>2022-02-20T20:03:01+00:00</updated>
<author>
<name>Tim Gates</name>
<email>tim.gates@iress.com</email>
</author>
<published>2021-09-13T14:43:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=4669da32b25b3de5f8eaaa542c1747b1f2707f0e'/>
<id>4669da32b25b3de5f8eaaa542c1747b1f2707f0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update README.rst - (broken link) (#347)</title>
<updated>2022-02-20T20:02:39+00:00</updated>
<author>
<name>juandoleal</name>
<email>90358864+juandoleal@users.noreply.github.com</email>
</author>
<published>2021-09-08T23:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pymemcache.git/commit/?id=06afd1aeadc1b751d91e3e71939a05de775ff006'/>
<id>06afd1aeadc1b751d91e3e71939a05de775ff006</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
