From: π <sun...@gm...> - 2014-10-14 01:01:04
|
Hello PyCXX people, I am very glad to find this framework, I have been spending some time digging through the source code attempting to understand how it does its magic. I'm confused by the existence of new-style classes and old-style classes. For example, in test_simple.py, both of these are tested? What are these entities? Did someone create a new mechanism for wrapping C++ classes as Python Types that was not backwards compatible (whatever that may mean), and hence both are now coexisting in the CodeBase? π PS looking through the source code, I notice that vast amount of compacting is possible through preprocessor macros and Variadic Templates. I'm in the process of refactoring, mainly so that I can gain some familiarity with the CodeBase and present certain sections in a way that my brain can parse more easily. I've uploaded some of my changes to http://mathpad.wikidot.com/pycxx — the links at the bottom of this page go to various modifications. |