Skip to content Skip to sidebar Skip to footer
Showing posts with the label Python C Extension

How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

I need to make a C extension with distutils (and/or setuptools) that can be used BOTH dynamically a… Read more How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

Return List Of New Custom-class Objects In Python C Api

I need to create a new list via the python C API containing new copies of objects of a Quaternion c… Read more Return List Of New Custom-class Objects In Python C Api

Python C Extension: Pyeval_getlocals() Returns Null

I need to read local variables from Python in C/C++. When I try to PyEval_GetLocals, I get a NULL. … Read more Python C Extension: Pyeval_getlocals() Returns Null

Python Extension Module With Variable Number Of Arguments

I am trying to figure out how in C extension modules to have a variable (and maybe) quite large num… Read more Python Extension Module With Variable Number Of Arguments

How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

I need to make a C extension with distutils (and/or setuptools) that can be used BOTH dynamically a… Read more How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?