78430d64d2
Accepting request 1143507 from devel:languages:python
Ana Guerrero2024-02-02 14:47:16 +00:00
46a9372ab3
- 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)
Dirk Mueller2024-02-01 21:20:21 +00:00
29c9e496ab
- Fix incorrect version number in __version__ (gh#linsomniac/python-memcached#185). - Fix build: we don't have /usr/sbin any more. - Clean up SPEC file.
Matej Cepl2022-12-13 00:37:12 +00:00
380df1fefd
Accepting request 520035 from devel:languages:python:singlespec-staging
Todd R
2017-08-31 21:29:45 +00:00
f765138cc4
- update to 1.58: * Fixing a performance regression in v1.54 in Python 2, using cPickle again. * Support for "stats slabs". * Pin Six version to >= 1.4 * setup.py build process pulls version from memcached.py * delete() and delete_multi() now default the "time" argument to None, since the protocol doesn't allow a time in some implementations. Patch by oremj #27Dirk Mueller2016-11-15 13:15:51 +00:00
46cc62fdf3
Accepting request 336698 from devel:languages:python
Stephan Kulow
2015-10-08 06:25:00 +00:00
3e7b0f0a6d
Accepting request 336697 from home:Nijel:branches:devel:languages:python
Michal Čihař
2015-10-06 11:23:30 +00:00
1da69fd7ce
Accepting request 94245 from devel:languages:python
Stephan Kulow
2011-12-01 11:25:40 +00:00
6d66759986
- added %{py_requires} - make use of --record-rpm from setuptools ------------------------------------------------------------------- - python-memcached 1.47 * Bug #680359: useOldServerHashFunction() is broken. It now correctly switches back to the old memcache hash function. - python-memcached 1.46 * Bug #471727: Changed the delete() code to explicitly check for both NOT_FOUND and DELETED as the responses and return successful for both. It also logs an error if one of these two responses is not found. Also added a test to ensure that delete() works. * When using set_multi and one value is too big, traceback TypeError: 'int' object is unsubscriptable. Patch by Orjan Persson * Fixing Bug #529855: Server host can now be bare host without ":<port>". Fix proposed by Roger Binns. * Fixing Bug #491164: Typo fix, "compession" -> "compRession". * Fixing Bug #509712: "TypeError: 'NoneType' object is unsubscriptable" Also fixed some other similar code to not have issues with that. * Also related to 509712 and 628339: readline() now returns '' instead of None when a server dies. This should be safer. Patch suggested by Denis Otkidach. * Fixing Bug #628339: Read from server sometimes fails. Patch by Jeremy Cowles. * Fixing Bug #633553: Add stat arguments support to get_stats(). Patch by Ryan Lane. * Changing the license to the PSF License. * Removing Evan's e-mail address at his request, changing
Sascha Peilicke
2011-09-27 08:12:51 +00:00