Staging
v0.8.1
https://github.com/python/cpython
Revision f44a6299e2fd2154436df2774c142ca4a7e64b3a authored by Miss Islington (bot) on 01 November 2017, 12:58:40 UTC, committed by Christian Heimes on 01 November 2017, 12:58:40 UTC
Replace occurence of nested comments in blake2 reference implementation
with preprocessor directive for disabling unused code.

`blake2s-load-xop.h` is conditionally pulled in only on chips with XOP
support, among others the AMD Bulldozer. The malformed comments in the
source file breaks the build of `hashlib`'s `_blake2` on GCC 6.3.0.

Official reference code on github uses `GH-if` so this change should be
uncontroversial.
(cherry picked from commit 388cd85e51aa9c73f8e7f35f0d06c258be7b579c)
1 parent ff6ae4d
History
Tip revision: f44a6299e2fd2154436df2774c142ca4a7e64b3a authored by Miss Islington (bot) on 01 November 2017, 12:58:40 UTC
Remove nested comments in blake2 (GH-4173) (#4214)
Tip revision: f44a629
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 798 bytes
.gitignore -rw-r--r-- 1.3 KB
.hgeol -rw-r--r-- 1.0 KB
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 8.7 KB
.travis.yml -rw-r--r-- 4.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 59.2 KB
README.rst -rw-r--r-- 9.1 KB
aclocal.m4 -rw-r--r-- 13.0 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 477.8 KB
configure.ac -rw-r--r-- 158.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 41.0 KB
setup.py -rw-r--r-- 99.1 KB

README.rst

back to top