summaryrefslogtreecommitdiff
path: root/memcache.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #745633: Values of maximum size are not storedSean Reifschneider2011-11-271-3/+14
| | | | | | | | 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.
* Adding commented-out timed delete test.Sean Reifschneider2011-11-271-2/+15
|
* * Bug #713451: server.expect("END") needs to be in a finally blockSean Reifschneider2011-11-271-2/+4
| | | | | Expect an "END" when the _recv_value() raises an exception. Patch by Jay Farrimond.
* Reverting patch that allows spaces in key.Sean Reifschneider2011-11-271-1/+1
|
* Bug: #741090: cas cache can grow unbounded. Default now is that theSean Reifschneider2011-11-271-3/+19
| | | | | | | cache is not used, unless the "Client()" object is created with "cache_cas=True". In that case, you need to have your own cas clearing code, a simple one would be to use Client().reset_cas() to completely clear the cas_ids cache. Problem pointed out by Shaun Cutts.
* Bug: #794456: Spaces in memcache keynamesSean Reifschneider2011-11-271-1/+1
| | | | Now allow spaces in keys. Proposed by cpaetzel.
* Bug #728359: Make python-memcache work on memcache restarts.Sean Reifschneider2011-11-271-46/+93
| | | | | Patch by Tarek Ziade', reviewed and further patches submitted by Hugo Beauze'e-Luysse and Neganov Alexandr.
* Adding Makefile and fixing tests.Sean Reifschneider2011-11-271-0/+1
|
* * Bug #798342: If memcached server sends unknown flag in response forSean Reifschneider2011-11-271-1/+1
| | | | | | "get", results in: "UnboundLocalError: local variable 'val' referenced before assignment" Now returns "None" instead. Patch by Sharoon Thomas
* Bug #680359: useoldserverhashfunction is brokenSean Reifschneider2010-12-161-0/+1
|
* Delete result code checking.Sean Reifschneider2010-12-151-4/+10
|
* When using set_multi and one value is too big, tracebackSean Reifschneider2010-12-151-6/+10
|
* Bug #529855: Server host can now be bare host without ":<port>".Sean Reifschneider2010-12-151-1/+1
|
* readline() returns '' instead of None on dead server.Sean Reifschneider2010-12-151-1/+1
|
* Typo fix "compession" -> "compRession".Sean Reifschneider2010-12-151-1/+1
|
* Fixing Bug #509712: "TypeError: 'NoneType' object is unsubscriptable"Sean Reifschneider2010-12-151-5/+3
| | | | | Also fixed some other similar code to not have issues with that. Also added changelog entries for the last two patches.
* Bug #633553: Add stat arguments support.Sean Reifschneider2010-12-151-2/+8
|
* Bug #628339: Read from server sometimes failsSean Reifschneider2010-12-151-0/+2
|
* Changing licensing and authorship.Sean Reifschneider2010-02-081-2/+4
|
* Release script is adding document file.Sean Reifschneider2009-11-281-1/+2
|
* Running tests and fixing issues found so far.Sean Reifschneider2009-11-281-44/+53
| | | | Adding overall test status message.
* * Per-connection max server key length. Patch by Nicolas DelabySean Reifschneider2009-11-271-35/+40
|
* Reverting the change for different serializers until I hear back fromSean Reifschneider2009-11-271-59/+4
| | | | author.
* * Adding support for multiple deserialization formats including PHP andSean Reifschneider2009-11-271-4/+59
| | | | | | JSON. Patch by Gavin M. Roy. PHP requires http://pypi.python.org/pypi/phpserialize
* * Patches to make memcached more garbage-collectable. RemovesSean Reifschneider2009-11-271-122/+18
| | | | | "debugfunc" argument from _Host objects and changed to "debug" boolean. Patch by John McFarlane.
* * Rejecting keys that have spaces in them. Patch by Etienne Posthumus.Sean Reifschneider2009-11-271-2/+2
|
* * Fixing exception raising syntax. Patch by Samuel Stauffer.Sean Reifschneider2009-11-271-38/+36
| | | | | | | | * Optimizations in read code. Patch by Samuel Stauffer. * Changing classes to be newstyle. Patch by Samuel Stauffer. * Changed "has_key" to "in". Patch by Samuel Stauffer.
* * incr/decr were raising ValueError if the key did not exist, theSean Reifschneider2009-11-271-14/+196
| | | | | | | | | docstring said it returned none. Patch by Chihiro Sakatoku. * Included cmemcache_hash, by permission of Ludvig Ericson. To use, do "memcached.cmemcache_activate()". * Adding cas method, submitted by Ben Gutierrez.
* Fixing set example in docstring.Sean Reifschneider2009-06-051-1/+1
|
* * Adding get_slabs() function to get stats. (Patch providedSean Reifschneider2009-04-021-0/+24
| | | | by Nick Verbeck)
* Providing better error messages (patch provided by Johan Euphrosine).Sean Reifschneider2009-04-021-4/+15
|
* Changing a typo of dead_until.Sean Reifschneider2009-04-021-1/+1
|
* Fixing the representation of domain sockets.Sean Reifschneider2009-04-021-1/+4
|
* Fixing arguments passed to the _Error if invalid read length.Sean Reifschneider2009-04-021-1/+1
|
* Moving length check after the compression.Sean Reifschneider2009-04-021-4/+7
|
* Detecting when the pickler needs a positional argument.Sean Reifschneider2009-04-021-2/+13
|
* Allowing spaces in the key.Sean Reifschneider2009-04-021-1/+1
|
* * eliott reported a bug in the 1.42 related to the socket timeout codeSean Reifschneider2008-06-011-0/+1
| | | | causing a traceback due to the timeout value not being set.
* * Patch from Peter Wilkinson to support using unix domain sockets.Sean Reifschneider2008-05-311-132/+152
| | | | | | | | | | | | | | He reports that tests succeed with with memcached daemons running, the normal and a domain socket started via "memcached -s memcached.socket". I massaged it quite a bit. To use domain sockets, use a connect string of "unix:/path/to/socket" Note however that if you are using a host name of "unix", it will now detect "unix:11211" as being a domain socket with the name "11211". In this case, please use "inet:unix:11211". Because of this, it is now preferred to use a connect string prefix of "inet:" or "unix:".
* * Patches from Steve Schwarz for set_multi() to return the full set ofSean Reifschneider2008-05-311-4/+24
| | | | | | | keys if all servers are down. Previously would not report any keys. * Fix from Steve Schwarz delete_multi() argument "seconds" not being correctly handled. Changed it to "time" to match all other calls.
* * Patch from Jehiah Czebotar which does: Changing the calls toSean Reifschneider2008-05-311-9/+18
| | | | | mark_dead() to make them dereference tuples, reducing timeout on sockets to 3 seconds, settable via setting Host._SOCKET_TIMEOUT.
* Patch from Andrey Petrov to add the "append" and "replace" commands.Sean Reifschneider2008-04-291-0/+22
|
* Patch from Jehiah Czebotar to catch an additional server disconnectSean Reifschneider2008-04-291-0/+1026
situation.