Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly define printable representation #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndrewKvalheim
Copy link

Offering a lazy solution to #55

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
AndrewKvalheim added a commit to AndrewKvalheim/nixpkgs that referenced this pull request Jul 13, 2024
d-xo pushed a commit to d-xo/nixpkgs that referenced this pull request Jul 15, 2024
shahinism pushed a commit to shahinism/nixpkgs that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant