Public bug reported: Boost.Python v. 1.65.0 introduced overloaded functions eval and exec for const char* while the original (str) functions call these overloads.
However, global and local context is not forwarded from str version to const char* and executed Python code sees empty global context making it unable to use any built-in Python function. The erroneous upstream code was NOT fixed in 1.65.1, used in Ubuntu 18.04, making any software depending on Boost.Python's exec/eval broken on 18.04. Upstream fixed the code in the next release (1.66.0): https://github.com/boostorg/python/commit/b09d80a93e299bdaba29b652010b668b87f1306c Would it be possible to incorporate this patch in the 18.04 LTS? ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: libboost-python1.65.1 1.65.1+dfsg-0ubuntu5 ApportVersion: 2.20.9-0ubuntu7.6 Architecture: amd64 Date: Tue Jun 18 16:12:27 2019 Dependencies: gcc-8-base 8.3.0-6ubuntu1~18.04.1 libc6 2.27-3ubuntu1 libgcc1 1:8.3.0-6ubuntu1~18.04.1 libstdc++6 8.3.0-6ubuntu1~18.04.1 SourcePackage: boost1.65.1 ** Affects: boost1.65.1 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1833276 Title: Broken exec and eval in Boost.Python 1.65.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/boost1.65.1/+bug/1833276/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
