From 36beb9c3cd2a6ff660ea10c3eb02aa90f2180d72 Mon Sep 17 00:00:00 2001 From: Sean Reifschneider Date: Sun, 24 Dec 2023 22:46:50 -0700 Subject: [PATCH] Adding changelog entry --- ChangeLog | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ PKG-INFO | 2 +- memcache.py | 2 +- 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 579b17a..43c0ffa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,60 @@ +Sun, 24 Dec 2024 22:33:47 -0700 Sean Reifschneider + + * 1.60 release. + + * Allow to use a datetime.timedelta parameter for Client.set + (PR from Theo Massard) + + * Fix cmemcahe_hash 0 values being translated to 1 (PR from Chow Loong Jin) + + * Fix tuple key support in multi methods (PR from Sergii Mikhtoniuk) #154 + + * Add support for default value in get (PR from Jakub SzafraƄski) + + * test_memcache.py: try import unittest.mock (PR from Tim Orling) + + * Use == as suggested by Python 3.8 (PR from @za) + + * Decoding in slab funcs, replacing "1" with "True" in while. #175 + + * Tell PyPI to parse README as markdown (PR from @MartinThoma) #168 + + * test_memcache.py: try import unittest.mock (PR from @moto-timo) #172 + + * Removed Python 2.7 from setup.cfg, adding 3.8-3.12 + + * Add support for default value in get() (PR from @samupl) #158 + + * Fix tuple key support in multi methods (regression in 1.55). + (PR from @sergiimk) #155 + + * Fix cmemcahe_hash 0 values being translated to 1. For example "ob" + would hash to 0 and then get converted to 1. Looks like this dated + back to 2009, the original code we imported for that hash function. + (PR from @hyperair) #152 + + * 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. (PR from @userrl) #15 + + * Allow to use a datetime.timedelta parameter for Client.set (PR from @tbobm) #146 + + * Allow keys to be encoded before use. (Port of PR in #52 from @harlowja) + + * Removing historic python 2to3 code and deprecated socket.error (for + OSError). (PR from @pgajdos) #186 + + * Updating to the latest PSF license + Fri, 15 Dec 2018 09:02:05 -0700 Sean Reifschneider + * 1.59 release. + * Added testing for Python 3.5 and 3.6 (PR from Tim Graham) #110, #131 * Fixed typos in docstrings (PR from Romuald Brunet, reviewed by Tim diff --git a/PKG-INFO b/PKG-INFO index 4fe0224..e5d3043 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: python-memcached -Version: 1.59 +Version: 1.60 Summary: A Python memcached client library. Home-page: http://www.tummy.com/Community/software/python-memcached/ Author: Sean Reifschneider diff --git a/memcache.py b/memcache.py index 0f5dd93..670a831 100644 --- a/memcache.py +++ b/memcache.py @@ -77,7 +77,7 @@ def useOldServerHashFunction(): # Original author: Evan Martin of Danga Interactive __author__ = "Sean Reifschneider " -__version__ = "1.59" +__version__ = "1.60" __copyright__ = "Copyright (C) 2003 Danga Interactive" # http://en.wikipedia.org/wiki/Python_Software_Foundation_License __license__ = "Python Software Foundation License"