mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106)
* 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
This commit is contained in:
parent
c99d41f9c0
commit
93d0cb58b4
13 changed files with 734 additions and 103 deletions
3
setup.py
3
setup.py
|
@ -1525,6 +1525,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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue