[issue35011] Update to expat removed the pyexpatns.h, causing link time symbol conflicts vs other versions in an application

Gregory P. Smith report at bugs.python.org
Wed Oct 17 20:26:15 EDT 2018


New submission from Gregory P. Smith <greg at krypto.org>:

These lines used to exist in Modules/expat/expat_external.h:

/* Namespace external symbols to allow multiple libexpat version to
   co-exist. */
#include "pyexpatns.h"

https://github.com/python/cpython/commit/5dc3f23b5fb0b510926012cb3732dae63cddea60#diff-3afaf7274c90ce1b7405f75ad825f545

removed them during an expat upgrade.

This causes link time conflicts when embedding Python using its own expat in an application that also uses libexpat from the C/C++ side on its own.

----------
messages: 327919
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: Update to expat removed the pyexpatns.h, causing link time symbol conflicts vs other versions in an application
versions: Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35011>
_______________________________________


More information about the Python-bugs-list mailing list