Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly define printable representation
In Python 3.12 the implementation of OrderedDict.__repr__ changed such that ExpiringDict.__repr__ may trigger expiration and raise KeyError. To avoid this, explicitly implement ExpiringDict.__repr__ using validated ExpiringDict.items(). Resolves mailgun#55
- Loading branch information