diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-08-18 23:06:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-18 23:06:27 (GMT) |
commit | 83e37e16f3065086d721d4e62a3788e01db3431c (patch) | |
tree | 1c310cda2c2b073d9054f3b528928ad7091cc18c /setup.py | |
parent | ff64a24c67fcd20bef9305db306b5026990d412b (diff) | |
download | cpython-83e37e16f3065086d721d4e62a3788e01db3431c.zip cpython-83e37e16f3065086d721d4e62a3788e01db3431c.tar.gz cpython-83e37e16f3065086d721d4e62a3788e01db3431c.tar.bz2 |
bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) (#3143)
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3
* Add NEWS entry
* Add new loadlibrary.c
* expat_external.h: restore include "pyexpatns.h"
* PCbuild: add expat/loadlibrary.c
* Define XML_POOR_ENTROPY to compile expat
(cherry picked from commit 93d0cb58b4da2a88c56f472c6c19491cc7a390df)
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1503,6 +1503,9 @@ class PyBuildExt(build_ext): expat_inc = [os.path.join(os.getcwd(), srcdir, 'Modules', 'expat')] define_macros = [ ('HAVE_EXPAT_CONFIG_H', '1'), + # bpo-30947: Python uses best available entropy sources to + # call XML_SetHashSalt(), expat entropy sources are not needed + ('XML_POOR_ENTROPY', '1'), ] expat_lib = [] expat_sources = ['expat/xmlparse.c', |