mirror of
https://github.com/python/cpython.git
synced 2025-10-04 06:06:44 +00:00
* 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 93d0cb58b4
)
This commit is contained in:
parent
ff64a24c67
commit
83e37e16f3
13 changed files with 735 additions and 104 deletions
3
setup.py
3
setup.py
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue