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

Already on GitHub? Sign in to your account

Q's should be hashable #5

Closed
mhluongo opened this Issue Aug 1, 2011 · 0 comments

Comments

Projects
None yet
1 participant
Owner

mhluongo commented Aug 1, 2011

They're unique, so why not? It would be greatly helpful for those of us that need to store and re-use Q's, potentially as dict keys (for memoization, etc).

@mhluongo mhluongo added a commit to mhluongo/lucene-querybuilder that referenced this issue Aug 4, 2011

@mhluongo mhluongo Wrote a test for query hashing (issue #5). e1de334

@mhluongo mhluongo added a commit to mhluongo/lucene-querybuilder that referenced this issue Aug 4, 2011

@mhluongo mhluongo Implemented __hash__ and __eq__ for Q objects, closing issue #5. cf3d0d8

@mhluongo mhluongo added a commit that referenced this issue Aug 4, 2011

@mhluongo mhluongo Merge pull request #6 from mhluongo/master
Closed issue #5
a7b11a7

@mhluongo mhluongo closed this Aug 4, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment