Revisions of python-python-memcached
- 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)
- Fix incorrect version number in `__version__` (gh#linsomniac/python-memcached#185). - Fix build: memcached moved their binaries to /usr/bin. - Clean up SPEC file.
- Version update to 1.59 bsc#1131840:
- Kill memcache deamon at the end of the tests - Version update to 1.59: * Various fixes for python 3.7 and 3.6 - Run tests
1
1
- update to 1.53: * Fixing set_multi() so that if the server closes the connection it will no longer raise AttributeError. Issue found and resolution reviewed by Ben Hoyt. * readline() now will mark the connection dead if the read fails. It was just closing it before. This is related to the set_multi() change but worth noting separately. Thanks to Ben Hoyt. * Changing check_keys to use re.match() instead of str.translate(), because re.match() works with Python < 2.6. Found by Giovanni Di Milia. (forwarded request 180692 from dirkmueller)
- update to 1.51: * Add a MANIFEST.in file, patch by Daniel Widerin. * Client() now takes a "check_keys" option, which defaults to True. If False, it disables the checking of keys to ensure they have acceptable size and are composed of non-control characters. Suggested by Ben Hoyt. * Converting control character checking of keys based on performance testing of alternatives by Ben Hoyt. * Converted unicode tests from using u'', patch from Eren Güve. * Included license file (pull request by "Philippe" pombredanne). * Doing a "set" after server goes away, raised AttributeError: 'NoneType' object has no attribute 'sendall'. Patch by Ken Lalonde * incr/decr return None instead of 0 on server connection failure. Suggested by Ivan Virabyan * Supports IPv6 connections using: "inet6:[fd00::32:19f7]:11000". Patch by Romain Courteaud - python-memcached-ipv6-and-or.patch: remove. Solved differently upstream (forwarded request 178495 from dirkmueller)
- Add python-memcached-ipv6-and-or.patch: Add IPv6 support and fix hostData port return value - Update to version 1.48: + Dropped HTML docu
Displaying revisions 1 - 20 of 22