Broken exec and eval in Boost.Python 1.65.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
boost1.65.1 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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:/
Would it be possible to incorporate this patch in the 18.04 LTS?
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libboost-
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
Date: Tue Jun 18 16:12:27 2019
Dependencies:
gcc-8-base 8.3.0-6ubuntu1~
libc6 2.27-3ubuntu1
libgcc1 1:8.3.0-
libstdc++6 8.3.0-6ubuntu1~
SourcePackage: boost1.65.1