Skip to content

Revert "Remove need for hashing NVDAObject and TextInfo objects"#9756

Merged
michaelDCurran merged 1 commit into
threshold_py3_stagingfrom
revert-9746-py3_noHashing
Jun 16, 2019
Merged

Revert "Remove need for hashing NVDAObject and TextInfo objects"#9756
michaelDCurran merged 1 commit into
threshold_py3_stagingfrom
revert-9746-py3_noHashing

Conversation

@michaelDCurran

Copy link
Copy Markdown
Member

Reverts #9746
There were other places where NVDAObjects were used as the keys of dictionaries, that couldn't be replaced with out major rewriting. E.g. browseMode's _isNvDAObjectInApplication cache.
We should instead actually provide __hash__ methods where ever we provide __eq__ methods.

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.

2 participants