This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author MrAnno
Recipients MrAnno, doko, ericvw, reimar, vstinner
Date 2019-08-08.12:36:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565267781.99.0.619243340289.issue36753@roundup.psfhosted.org>
In-reply-to
Content
I'd like to mention a real-world example for this issue: syslog-ng with its
plugin system.

Plugins are loaded using dlopen() after the initial plugin discovery. RTLD_LOCAL
would be a reasonable choice, since symbols in plugins should not pollute the
global namespace (so plugins using different versions of OpenSSL, Python, etc.
would be possible).

Since we have Python-based plugins, we had to use RTLD_GLOBAL instead (with RTLD_LAZY to
reduce the possibility of conflicts) as a workaround.

Note: The latest Python 3 version seems to be working with RTLD_LOCAL as everything
under lib-dynload/ linked against libpython.
History
Date User Action Args
2019-08-08 12:36:22MrAnnosetrecipients: + MrAnno, doko, vstinner, ericvw, reimar
2019-08-08 12:36:21MrAnnosetmessageid: <1565267781.99.0.619243340289.issue36753@roundup.psfhosted.org>
2019-08-08 12:36:21MrAnnolinkissue36753 messages
2019-08-08 12:36:21MrAnnocreate