interrogate2swig.py

This is sounding really promising.

As to the C++ namespaces, that should not be an issue; Panda doesn’t really use them (at one point we had to support compilers that didn’t understand them).

The Python-scoping convention of things like “direct.directbase.DirectStart” is only scoping Python filenames, not C++ namespace scopes.

However, I think we do publish the occasional nested class here and there.

David