Hello,
I've read the python doc (C-API) and was wondering about the two reasons to extend python with C. The first reason is to implement new build-in object types and the second one is to call C-Library functions and system calls.
Ok, I think i got the second one but what's about the new build-in objects? Does that mean that I am able to mix my written c-modules with the existing python source files and recompile the interpreter so I'm using static binding to create my "own/new" python-interpreter including my own types?
If I just use dynamic binding (e.g. using distutils to create a library and than "import myLib") I think I got the same behavior like writing a python class in a separate module file and use it afterwards. In both cases I will have new type.
Probably I don't understand what they want to tell me with build-in objects. May anybody help me with that? Thanks a lot.
Jonny