summaryrefslogtreecommitdiffstats
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-26 09:43:35 (GMT)
committerEric V. Smith <ericvsmith@users.noreply.github.com>2018-02-26 09:43:35 (GMT)
commit4cffe2f66b581fa7538f6de884d54a5c7364d8e0 (patch)
tree91054ec09246654d2fd5b9edbce10585a4bd16e4 /Python/makeopcodetargets.py
parent1a5790689f134881d8e7cc8b1ac45121468823c6 (diff)
downloadcpython-4cffe2f66b581fa7538f6de884d54a5c7364d8e0.zip
cpython-4cffe2f66b581fa7538f6de884d54a5c7364d8e0.tar.gz
cpython-4cffe2f66b581fa7538f6de884d54a5c7364d8e0.tar.bz2
bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean unsafe_hash. (GH-5891) (GH-5902)
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. (cherry picked from commit dbf9cff48a4ad0fd58e1c623ce1f36c3dd3d5f38) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Diffstat (limited to 'Python/makeopcodetargets.py')
0 files changed, 0 insertions, 0 deletions