pylibmc is a Python client for memcached written in C.
See the documentation at sendapatch.se/projects/pylibmc/ for more information.
pylibmc now checks every key itself (a key with whitespace or control characters
raises ValueError on the text protocol instead of corrupting the connection),
accepts a master_key= keyword on the data methods, returns booleans as
booleans, compresses cas values like set, and the Linux wheels now log in
with SASL. The change log lists what can break existing code.
See the change log for the details.
After a hiatus, we are back. A big welcome to @mxamin as a collaborator, hopefully this will prevent further hiata down the line. Also, LLMs have slashed the time investment to near zero, hoo-rah. The biggest change is that we now build against libmemcached 1.1.4 for the wheels. Also the LLM found many memory safety problems, and likely many yet more to come.
Though no major feature overhauls have taken place, this release is partially incompatible with 1.5.0. This stems from the fact that python-memcached is now using a flag that pylibmc has been using for some years. python-memcached uses it for a different purpose, and an incompatible one. We deemed that it would be better to support this interoperability. The change also means that Unicode strings are now stored as UTF-8 rather than pickled, which may or may not result in a slight performance improvement for this type of data.
We have also introduced a pickle_protocol behavior to enable seamless interoperability between Python 2.x and 3.x. Also, this release introduces a ManyLinux wheel, making installation a breeze on ManyLinux systems (which I suppose is many linuxes.)
Last but not least I would like to ask for your support in this project, either by helping out with development, testing, documentation or anything at all; or simply by donating some magic internet money to the project's Bitcoin address 12dveKhqiJWCY8zXT4kaHdHELXPeGAUo9h.
Released under the BSD 3-clause license; see LICENSE for details.
Ludvig Ericson
- Website: sendapatch.se/
- Github: github.com/lericson
- IRC:
lericsonin#sendapatchonirc.libera.chat - E-mail:
ludvigatsendapatch.se
Amin Solhizadeh
- Github: github.com/mxamin
- E-mail:
amin.solhizadehatgmail.com