python-memcached icon indicating copy to clipboard operation
python-memcached copied to clipboard

A python memcached client library.

Results 70 python-memcached issues
Sort by recently updated
recently updated
newest added

Multi-set with tuple as keys (with server hash) would otherwise raise exception.

``` try: server.send_cmds(b''.join(bigcmd)) except socket.error as msg: rc = 0 if isinstance(msg, tuple): msg = msg[1] server.mark_dead(msg) dead_servers.append(server) ``` why a exception may be a tuple?

In Python 3.6.5 and memcached 1.5.10, I use `get_slab_stats` command and get errors below. ``` Traceback (most recent call last): File "", line 1, in File "/Users/yasu/.local/share/virtualenvs/python-memcached-mnWCL0QA/lib/python3.6/site-packages/memcache.py", line 354, in...

Maybe directly accepting `datetime.timedelta` variables as `time` parameter (see [Client](https://github.com/linsomniac/python-memcached/blob/master/memcache.py#L695)) could be great, in addition to the standard `int` or unix timestamp value. It would only require to check the...

I have solved this problem. This is the solution in Chinese: https://www.cnblogs.com/LanTianYou/p/9204431.html The solution is to modify the final else-block content in the method "_recv_value" in the python file "memcache.py"....

Saw that build `failed` due to `flake8`. Decide to add it to `exclude` list as I can't see any easy way to shorten the `url` that violate `E501 line too...

I've tested simple CAS setup, two parallel python processes updating some key on single shared server: 1. Set the key: ```python mc.set('k', 0) ``` 2. Run two processes with that...

mc.get does not work at all ``` Traceback (most recent call last): File "test.py", line 87, in state = mc.get("run_state") File "build/bdist.linux-armv7l/egg/memcache.py", line 1129, in get ... 42: 'douglass adams',...