Opened 8 years ago

Last modified 6 years ago

#10923 new Bugs

exec-dynamic fails with Python 3

Reported by: Petr Machata <pmachata@…> Owned by: Ralf W. Grosse-Kunstleve
Milestone: To Be Determined Component: python USE GITHUB
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

The reason being that the test case calls PyImport_AppendInittab after Py_Initialize. One solution is to call Py_Finalize before PyImport_AppendInittab, and the re-call Py_Initialize. I implement this in a somewhat structured fashion in the attached patch.

Attachments (1)

boost-1.55.0-python-test-PyImport_AppendInittab.patch (2.6 KB ) - added by Petr Machata <pmachata@…> 8 years ago.
A fix

Download all attachments as: .zip

Change History (2)

by Petr Machata <pmachata@…>, 8 years ago

A fix

comment:1 by jwakely.boost@…, 6 years ago

This seems to have been fixed by https://github.com/boostorg/python/commit/bb6f52dc35a674ab4570e9811a590b1039fb95b9 so I'm dropping Petr's patch from the Fedora package.

Note: See TracTickets for help on using tickets.