Commit 091d017a authored by Benjamin Peterson's avatar Benjamin Peterson

restore namespacing of pyexpat symbols (closes #19186)

parent c5640385
...@@ -45,6 +45,8 @@ Core and Builtins ...@@ -45,6 +45,8 @@ Core and Builtins
Library Library
------- -------
- Issue #19186: Restore namespacing of expat symbols inside the pyexpat module.
- Issue #20426: When passing the re.DEBUG flag, re.compile() displays the - Issue #20426: When passing the re.DEBUG flag, re.compile() displays the
debug output every time it is called, regardless of the compilation cache. debug output every time it is called, regardless of the compilation cache.
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
/* External API definitions */ /* External API definitions */
/* Namespace external symbols to allow multiple libexpat version to
co-exist. */
#include "pyexpatns.h"
#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__) #if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__)
#define XML_USE_MSC_EXTENSIONS 1 #define XML_USE_MSC_EXTENSIONS 1
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment