diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-11 02:14:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-11 02:14:23 (GMT) |
commit | 5b94b857f590db80aab69c31f88dd2a4978f8329 (patch) | |
tree | c6a4a58005787ba96f45d253213200d53714ca42 | |
parent | bac6e63fd63960a1ab862befab42de05d32667c2 (diff) | |
download | cpython-5b94b857f590db80aab69c31f88dd2a4978f8329.zip cpython-5b94b857f590db80aab69c31f88dd2a4978f8329.tar.gz cpython-5b94b857f590db80aab69c31f88dd2a4978f8329.tar.bz2 |
closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing of pyexpat line in Setup. (GH-13064)
When the line is uncommented, the equals character causes it to be incorrectly interpreted
as a macro definition by makesetup. This results in invalid Makefile output.
The expat code only requires XML_POOR_ENTROPY to be defined; the value is unnecessary.
(cherry picked from commit 408a2ef1aceff1f4270c44552fa39ef93d9283e3)
Co-authored-by: aaronpaulhurst <aaronpaulhurst@gmail.com>
-rw-r--r-- | Modules/Setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Setup b/Modules/Setup index e729ab8..ed5ee6c 100644 --- a/Modules/Setup +++ b/Modules/Setup @@ -338,7 +338,7 @@ _symtable symtablemodule.c # Interface to the Expat XML parser # More information on Expat can be found at www.libexpat.org. # -#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI +#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY -DUSE_PYEXPAT_CAPI # Hye-Shik Chang's CJKCodecs |