Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How to wrap C++ singletons using cython

As a guide, am using Cython by Kurt Smith to aid in an automatic test environment to allow testing of C/C++ code modules using python scripts (using cython as an interface layer).
Has anyone succeeded in using cython to wrap C++ singletons?
Am using Python 3.4 cython 0.25.1 with a makefile (provides more flexibility than the setup.py method). Can create the .so and import it into python, but cannot figure out how to tackle singletons.
Any pointers would be greatly appreciated. Will gladly share back with the community when successful.
1 person has
this problem
+1
Reply