Skip to content
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.

Preserve expiry time when mutating keys #3

Merged
merged 1 commit into from
Nov 12, 2017
Merged

Conversation

bmerry
Copy link

@bmerry bmerry commented Nov 12, 2017

A new setx function is added to _StrKeyDict that updates the value but
preserves the existing expiry time. This is used by mutating operations
that replace the value rather than mutating it in-place (which is
impossible for strings, and happens not to be done in some other
cases).

Fixes #2.

A new setx function is added to _StrKeyDict that updates the value but
preserves the existing expiry time. This is used by mutating operations
that replace the value rather than mutating it in-place (which is
impossible for strings, and happens not to be done in some other
cases).

Fixes #2.
@coveralls
Copy link

coveralls commented Nov 12, 2017

Coverage Status

Coverage increased (+0.02%) to 97.885% when pulling 2ee662f on mutate-preserve-expiry into 771b41c on master.

2 similar comments
@coveralls
Copy link

coveralls commented Nov 12, 2017

Coverage Status

Coverage increased (+0.02%) to 97.885% when pulling 2ee662f on mutate-preserve-expiry into 771b41c on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 97.885% when pulling 2ee662f on mutate-preserve-expiry into 771b41c on master.

@bmerry bmerry merged commit b09b021 into master Nov 12, 2017
@bmerry bmerry deleted the mutate-preserve-expiry branch November 12, 2017 19:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants