Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix strange bug, feel there is something else going on here
- int ret = PyDict_SetItem(YPython::_pMainDicts, pModuleName, PyModule_GetDict(pMain)); + int ret = PyDict_SetItemString(YPython::_pMainDicts, module_name.c_str(), PyModule_GetDict(pMain)); Had to change the Dict access above because it didn't work from py3 when getting called from ruby. OTOH it worked fined from python (where the python client was calling import_module "aPythonModule"
- Loading branch information