Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Override equality to not use builtin cmp #7

Merged
merged 1 commit into from
Nov 25, 2014
Merged

Override equality to not use builtin cmp #7

merged 1 commit into from
Nov 25, 2014

Conversation

cyrusv
Copy link

@cyrusv cyrusv commented Nov 21, 2014

Otherwise, comparing two PersistentDicts with "==" will raise a TypeError when builtin "cmp" fails, but should actually return False. A new test is added

strichter added a commit that referenced this pull request Nov 25, 2014
Override equality to not use builtin cmp
@strichter strichter merged commit 2ecf120 into zopefoundation:master Nov 25, 2014
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