The API takes advantage of the server's opaque flag support and sets its
"complex" flag whenever the object being stored or retrieved isn't a plain
scalar. In that case, the Storable module is used to freeze and thaw the
value automatically going in and out of the memcached.
The Python API, while tested, has not experienced real-world production use.
WWW: http://www.tummy.com/Community/software/python-memcached/
- Update to 1.51
- Add http:// to MASTER_SITES
- Cleanup Makefile header
Changes: http://bazaar.launchpad.net/~python-memcached-team/python-memcached/trunk/view/head:/ChangeLog
- Bug #974632: _ConnectionDeadError sometimes was escaping the get/set code.
This should return to readline() not raising an exception, except in the case
that it's called from the get/set(). Report from Gary Poster, proposed patch
by Brad Crittenden.
- Misc fixes by Brad Crittenden: fixing a docstring, if "port" is set to any
false-like value it will default to 11211.
- Bug #887765: Interrupted connection to memcache server can cause
inconsistencies. Added "flush_on_reconnect" (defaults to off) to Client()
which will cause a client that has lost connection to a server and then
reconnects to flush the cache on the reconnect so that it doesn't get old
values from that server. Patch by Daniel Benamy.
- Update to 1.48
- Add my LOCAL as MASTER_SITES
- Take maintainership
Changes:
http://bazaar.launchpad.net/~python-memcached-team/python-memcached/trunk/view/head:/ChangeLog
- Bug #745633: Values of maximum size are not stored API inconsistency, max
value length was tested for <= while max KEY length was <. So I picked that
keys and values *LONGER* than the specified max value are what is used, and
added documentation and tests to that effect. The test for max value tested
that length plus 4, so I've changed that to be that value plus 1. Issue found
by matt-quru.
- Bug #713488: Issues Invalid "delete" command. Protocol has changed so that the
"delete" operation no longer takes a "time" argument. It seems that some
servers will refuse a "delete key 0" while others will accept it, but the
official server will NOT accept "delete key 1". So I've changed it so that if
(Only the first 15 lines of the commit message are shown above )
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
Add py-memcached 1.2, python API for memcached, a distributed memory
cache daemon.
PR: ports/65643
Submitted by: michael johnson <ahze at ahze dot net>