forked from pool/python-python-memcached
78430d64d258a9aebc8234b95c9fd094b7fe15cde559ec3fd9fabf06302a166d
- update to 1.62: * delete() return value now is 1 for "DELETED" and 0 for "NOT_FOUND" or server error. (Nick Pope PR #190) - update to 1.60: * Allow to use a datetime.timedelta parameter for Client.set * Fix cmemcahe_hash 0 values being translated to 1 * Fix tuple key support in multi methods * Add support for default value in get * test_memcache.py: try import unittest.mock * Use == as suggested by Python 3.8 (PR from @za) * Decoding in slab funcs, replacing "1" with "True" in while. * Tell PyPI to parse README as markdown (PR from @MartinThoma) * test_memcache.py: try import unittest.mock * Removed Python 2.7 from setup.cfg, adding 3.8-3.12 * Add support for default value in get() * Fix tuple key support in multi methods (regression in 1.55). * Removing six.PY2/3 conditionals * Removing "time" from delete and making expiry mandatory in touch. (port of @erankor's PR in #30 ) * Added quit() method. This method sends the 'quit' command to the servers and then closes the connections, reducing the number of TIME_WAIT sockets hanging around the OS. * Allow to use a datetime.timedelta parameter for Client.set * Allow keys to be encoded before use. * Removing historic python 2to3 code and deprecated socket.error (for OSError). * Updating to the latest PSF license - drop python-python-memcached-no-six.patch (upstream) OBS-URL: https://build.opensuse.org/request/show/1143507 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-memcached?expand=0&rev=22
Description
No description provided
Languages
RPM Spec
100%