On Thu, Sep 26, 2019 at 3:55 AM Petr Viktorin <pvikt...@redhat.com> wrote:
> Actually, this is in FreeCAD code: > > FreeCAD-0.18.3/src/Base/swigpyrun.inl: PyObject *modules = interp->modules; > > Change "interp->modules" to "PyImport_GetModuleDict()" there. > Not being a c/c++ programmer I wasn't sure if it was literally that simple. :) I'll give it a try. Thanks, Richard
_______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org