
10 Jun
2007
10 Jun
'07
12:08 p.m.
python::dict m_mainNamespace = python::dict(m_mainModule.attr("__dict__")); The above code makes a copy of mainModule dictionary. Is it possible to make m_mainNamespace not a copy but a reference to mainModule dictionary? Marcin