commit | dbf9cff48a4ad0fd58e1c623ce1f36c3dd3d5f38 | [log] [tgz] |
---|---|---|
author | Eric V. Smith <ericvsmith@users.noreply.github.com> | Sun Feb 25 21:30:17 2018 -0500 |
committer | GitHub <noreply@github.com> | Sun Feb 25 21:30:17 2018 -0500 |
tree | b44951c74baf95d62b496746de64cb6434896d5d | |
parent | 9c17e3a1987004b8bcfbe423953aad84493a7984 [diff] |
bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean unsafe_hash. (#5891) unsafe_hash=False is now the default. It is the same behavior as the old hash=None parameter. unsafe_hash=True will try to add __hash__. If it already exists, TypeError is raised.