Staging
v0.5.1
https://github.com/python/cpython
Revision 9989efbb653e8cbd08e51b4d79d094605c8b23b8 authored by Miss Islington (bot) on 25 March 2018, 02:31:29 UTC, committed by GitHub on 25 March 2018, 02:31:29 UTC

* Change _hash_action to be a function table lookup, instead of a list
of strings which is then tested with if statements.
(cherry picked from commit 01d618c5606a239b03ad1269541eddb6e724775d)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
1 parent 02c19a6
History
Tip revision: 9989efbb653e8cbd08e51b4d79d094605c8b23b8 authored by Miss Islington (bot) on 25 March 2018, 02:31:29 UTC
bpo-33134: dataclasses: use function dispatch table for hash, instead of a string lookup which then is tested with if tests. (GH-6222)
Tip revision: 9989efb
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 772 bytes
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 5.7 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 60.8 KB
README.rst -rw-r--r-- 9.1 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 481.7 KB
configure.ac -rw-r--r-- 159.6 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.2 KB
setup.py -rw-r--r-- 99.7 KB

README.rst

back to top