-
- Downloads
Fix for ROOT-8046 -Python C++ class wrappers in cppyy do not report the proper...
Fix for ROOT-8046 -Python C++ class wrappers in cppyy do not report the proper name (preventing pickling) Added new atrribute __cppname__ to hold the C++ full name of the class/namespace and use __name__ with only the class name. Ensure that __module__ contains a proper python scope for the class/namespace. Pickle relies on concatenating __module__ + '.' + __name__ to get a loadable type.
Showing
- bindings/pyroot/src/Cppyy.cxx 21 additions, 0 deletionsbindings/pyroot/src/Cppyy.cxx
- bindings/pyroot/src/Cppyy.h 1 addition, 0 deletionsbindings/pyroot/src/Cppyy.h
- bindings/pyroot/src/PyStrings.cxx 3 additions, 0 deletionsbindings/pyroot/src/PyStrings.cxx
- bindings/pyroot/src/PyStrings.h 1 addition, 0 deletionsbindings/pyroot/src/PyStrings.h
- bindings/pyroot/src/Pythonize.cxx 1 addition, 1 deletionbindings/pyroot/src/Pythonize.cxx
- bindings/pyroot/src/RootModule.cxx 1 addition, 1 deletionbindings/pyroot/src/RootModule.cxx
- bindings/pyroot/src/RootWrapper.cxx 32 additions, 8 deletionsbindings/pyroot/src/RootWrapper.cxx
- bindings/pyroot/src/TPython.cxx 1 addition, 1 deletionbindings/pyroot/src/TPython.cxx
- bindings/pyroot/src/TemplateProxy.cxx 1 addition, 1 deletionbindings/pyroot/src/TemplateProxy.cxx
- bindings/pyroot/src/Utility.cxx 8 additions, 7 deletionsbindings/pyroot/src/Utility.cxx
Loading
Please register or sign in to comment