You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ericvsmith'closed_at=<Date2018-03-25.02:32:58.183>created_at=<Date2018-03-24.21:11:21.831>labels= ['3.8', '3.7', 'library']
title='dataclasses: use function dispatch instead of multiple tests for adding __hash__'updated_at=<Date2018-03-25.02:32:58.183>user='https://github.com/ericvsmith'
There's already a table lookup for what action to take when adding __hash__. Change it to a function dispatch table, instead of using strings and testing them.
New changeset 01d618c by Eric V. Smith in branch 'master': bpo-33134: dataclasses: use function dispatch table for hash, instead of a string lookup which then is tested with if tests. (GH-6222) 01d618c
New changeset 9989efb by Miss Islington (bot) in branch '3.7': bpo-33134: dataclasses: use function dispatch table for hash, instead of a string lookup which then is tested with if tests. (GH-6222) 9989efb
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: