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

Generate __hash__ on record as well #75

Closed
kanghyojun opened this issue Sep 5, 2016 · 1 comment
Closed

Generate __hash__ on record as well #75

kanghyojun opened this issue Sep 5, 2016 · 1 comment
Assignees
Labels
cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python typ:enhance Type: Enhancement/new feature

Comments

@kanghyojun
Copy link
Member

kanghyojun commented Sep 5, 2016

In Python, by implementing __hash__ object becomes hashable. That means set can contain it or it can be a key of dict.

@kanghyojun kanghyojun added the typ:enhance Type: Enhancement/new feature label Sep 5, 2016
@kanghyojun kanghyojun self-assigned this Sep 5, 2016
@dahlia
Copy link
Member

dahlia commented Sep 18, 2016

Fixed by #76.

@dahlia dahlia closed this as completed Sep 18, 2016
@dahlia dahlia added cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python labels Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python typ:enhance Type: Enhancement/new feature
Projects
None yet
Development

No branches or pull requests

2 participants