<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pymemcache.git/pymemcache/serde.py, branch master</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>Start to add type hints</title>
<updated>2022-09-12T16:49:43+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@pinterest.com</email>
</author>
<published>2022-08-17T17:01:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=aba7f3ffd0fe76f0a6068c05133b5bb2fef94909'/>
<id>aba7f3ffd0fe76f0a6068c05133b5bb2fef94909</id>
<content type='text'>
First pass at adding some type hints to pymemcache to make it easier to
develop against etc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
First pass at adding some type hints to pymemcache to make it easier to
develop against etc.
</pre>
</div>
</content>
</entry>
<entry>
<title>add some compression benchmarks</title>
<updated>2022-07-15T22:14:35+00:00</updated>
<author>
<name>John Anderson</name>
<email>sontek@gmail.com</email>
</author>
<published>2022-07-15T22:14:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=0fd419f6b83931d6899ea19a6668a3bc2aded3c2'/>
<id>0fd419f6b83931d6899ea19a6668a3bc2aded3c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add pluggable compression serde</title>
<updated>2022-07-12T05:08:50+00:00</updated>
<author>
<name>John Anderson</name>
<email>sontek@gmail.com</email>
</author>
<published>2022-07-12T05:08:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=fd7a6deaf8d92595ab1fc9682eb5bfc9b953b39c'/>
<id>fd7a6deaf8d92595ab1fc9682eb5bfc9b953b39c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply black formatting</title>
<updated>2021-12-03T17:27:52+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@pinterest.com</email>
</author>
<published>2021-12-03T00:17:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=73c78212c0eea3970570cee48b55c3295b9f4c94'/>
<id>73c78212c0eea3970570cee48b55c3295b9f4c94</id>
<content type='text'>
https://black.readthedocs.io/en/stable/index.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://black.readthedocs.io/en/stable/index.html
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes for rebase and further cleanups</title>
<updated>2021-07-20T18:49:20+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@pinterest.com</email>
</author>
<published>2021-07-06T18:45:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=09e4c0520482beab2faba9253178e34ec459054e'/>
<id>09e4c0520482beab2faba9253178e34ec459054e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove six dependency and run pyupgrade</title>
<updated>2021-07-20T18:46:07+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@pinterest.com</email>
</author>
<published>2021-05-27T16:48:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=0bf1baa4f539dedf8e4e4b2e48f8da5d66ed57b5'/>
<id>0bf1baa4f539dedf8e4e4b2e48f8da5d66ed57b5</id>
<content type='text'>
Now that we don't require Python 2 support no need for six.

Code upgraded with pyupgrade and manual fixes to remove remaining six
usage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we don't require Python 2 support no need for six.

Code upgraded with pyupgrade and manual fixes to remove remaining six
usage.
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade to Sphinx 3 for generated documentation (#282)</title>
<updated>2020-04-28T16:25:35+00:00</updated>
<author>
<name>Jon Parise</name>
<email>jon@pinterest.com</email>
</author>
<published>2020-04-28T16:25:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=073c4d9ff11c716f9d980ed144cb80380dddb302'/>
<id>073c4d9ff11c716f9d980ed144cb80380dddb302</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change serialization interface to be an object (#245)</title>
<updated>2019-08-26T18:11:31+00:00</updated>
<author>
<name>Stephen Rosen</name>
<email>sirosen@globus.org</email>
</author>
<published>2019-08-26T18:11:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=5699c9dfa7067a99000e281091dd6400a1e84122'/>
<id>5699c9dfa7067a99000e281091dd6400a1e84122</id>
<content type='text'>
* Change serialization interface to be an object

Rather than passing separate serialization and deserialization methods
to a pymemcache client, pass an object implementing a very simple
two-method interface.

This is a rather significant breaking change and should be part of an
x.0.0 major release.

Resolves #56

As suggested in that issue, this is a cleaner interface, as there's no
sensible context in which you would provide only one of these two
methods and it should therefore be thought of as a
serialization/deserialization protocol.

Also adds a note to the documentation's Best Practices list that you
should use the built-in serializer object unless you have a reason to do
otherwise.

* Support "de/serializer" in addition to "serde"

In order to support older client usage in addition to the new
serialization object (protocol), restore the "serializer" and
"deserializer" arguments to the Client classes.
These are marked as deprecated and will be automatically wrapped into a
small "serde" object.

In order to make the various object names more distinguishable and more
informative, the built-in default serializer is now called
"python_memcache_pickle_serde"

Additionally, default client.serde to a "no-op serializer".
This object does no transforms on the data. By putting this in place, we
can skip some conditionals in the code around presence or absence of a
serializer and therefore simplify internally (at the cost of an extra,
unnecessary, functional call in some cases).

It also simplifies logic around the handling of flags because we are now
*guaranteed* the presence of a serializer object which returns some
flags. i.e. "default flags" are no longer the responsibility of the
various serializer usage sites.
This is done carefully to ensure that passing a `serializer` without a
`deserializer` is respected.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Change serialization interface to be an object

Rather than passing separate serialization and deserialization methods
to a pymemcache client, pass an object implementing a very simple
two-method interface.

This is a rather significant breaking change and should be part of an
x.0.0 major release.

Resolves #56

As suggested in that issue, this is a cleaner interface, as there's no
sensible context in which you would provide only one of these two
methods and it should therefore be thought of as a
serialization/deserialization protocol.

Also adds a note to the documentation's Best Practices list that you
should use the built-in serializer object unless you have a reason to do
otherwise.

* Support "de/serializer" in addition to "serde"

In order to support older client usage in addition to the new
serialization object (protocol), restore the "serializer" and
"deserializer" arguments to the Client classes.
These are marked as deprecated and will be automatically wrapped into a
small "serde" object.

In order to make the various object names more distinguishable and more
informative, the built-in default serializer is now called
"python_memcache_pickle_serde"

Additionally, default client.serde to a "no-op serializer".
This object does no transforms on the data. By putting this in place, we
can skip some conditionals in the code around presence or absence of a
serializer and therefore simplify internally (at the cost of an extra,
unnecessary, functional call in some cases).

It also simplifies logic around the handling of flags because we are now
*guaranteed* the presence of a serializer object which returns some
flags. i.e. "default flags" are no longer the responsibility of the
various serializer usage sites.
This is done carefully to ensure that passing a `serializer` without a
`deserializer` is respected.</pre>
</div>
</content>
</entry>
<entry>
<title>Make pickle version for python_memcache_serializer adjustable</title>
<updated>2018-09-07T22:55:14+00:00</updated>
<author>
<name>Joe Gordon</name>
<email>jogo@pinterest.com</email>
</author>
<published>2018-09-07T21:52:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=c9b89dcef88cf94b22da7c9ad80b3212a15233b5'/>
<id>c9b89dcef88cf94b22da7c9ad80b3212a15233b5</id>
<content type='text'>
It's unsafe to use the max pickle version when you are switching between
versions of python with different max versions.

Add a new function get_python_memcache_serializer that
returns a python_memcache_serializer with any pickle version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's unsafe to use the max pickle version when you are switching between
versions of python with different max versions.

Add a new function get_python_memcache_serializer that
returns a python_memcache_serializer with any pickle version.
</pre>
</div>
</content>
</entry>
<entry>
<title>correct spelling mistake</title>
<updated>2017-09-01T20:19:11+00:00</updated>
<author>
<name>Edward Betts</name>
<email>edward@4angle.com</email>
</author>
<published>2017-09-01T20:19:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pymemcache.git/commit/?id=779f3c339fb3942d781e35e1cccaa552cbe44016'/>
<id>779f3c339fb3942d781e35e1cccaa552cbe44016</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
