File tree 3 files changed +20
-1
lines changed
3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change
1
+ =========
2
+ ChangeLog
3
+ =========
4
+
5
+ \
6
+
7
+ v1.2.2 (2022-06-20)
8
+ ===================
9
+ * Fix import error for Python 3.6+.
Original file line number Diff line number Diff line change @@ -7,13 +7,17 @@ Expiring Dict
7
7
.. image :: https://coveralls.io/repos/github/mailgun/expiringdict/badge.svg?branch=master
8
8
:target: https://coveralls.io/github/mailgun/expiringdict?branch=master
9
9
10
+ ChangeLog _
11
+
10
12
expiringdict is a Python caching library. The core of the library is ExpiringDict class which
11
13
is an ordered dictionary with auto-expiring values for caching purposes. Expiration happens on
12
14
any access, object is locked during cleanup from expired values. ExpiringDict can not store
13
15
more than `max_len ` elements - the oldest will be deleted.
14
16
15
17
**Note: ** Iteration over dict and also keys() do not remove expired values!
16
18
19
+ .. _ChangeLog : ./CHANGELOG.rst
20
+
17
21
Installation
18
22
------------
19
23
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
+
3
+ try :
4
+ ModuleNotFoundError
5
+ except NameError :
6
+ ModuleNotFoundError = ImportError
7
+
2
8
try :
3
9
import md5 # fix for "No module named _md5" error
4
10
except ImportError :
14
20
]
15
21
16
22
setup (name = "expiringdict" ,
17
- version = "1.2.1 " ,
23
+ version = "1.2.2 " ,
18
24
description = "Dictionary with auto-expiring values for caching purposes" ,
19
25
long_description = open ("README.rst" ).read (),
20
26
classifiers = [
You can’t perform that action at this time.
0 commit comments