extension-modules Questions

0

I am developing a python package with a C++ extension module that interops with the python code via pybind11, and which I am building using CMake (based on this answer). I have the package installe...
Follower asked 26/9, 2022 at 2:48

3

Suppose I have two boost python modules that are defined as follows. Module A: class SomeClass { public: SomeClass() {} ~SomeClass() {} }; BOOST_PYTHON_MODULE(A) { class_<SomeClass>("Som...
Franglais asked 14/12, 2010 at 12:53

5

Solved

What is the correct or most robust way to tell from Python if an imported module comes from a C extension as opposed to a pure Python module? This is useful, for example, if a Python package has a ...
Presumptuous asked 2/12, 2013 at 22:18

1

Solved

I am just starting an attempt to write my first Python extension module in C and are using instructions provided at https://www.tutorialspoint.com/python/python_further_extensions.htm I am on Linu...
Beebread asked 25/4, 2017 at 22:20

4

So I'm writing a python extension module in C and I'm trying to compile it for my 64-bit Python build. After bashing my head against MinGW for a while, I did some googling around and found that Min...
Berky asked 25/9, 2012 at 19:15

1

So I have a situation where I need to make binary patches and then be able to apply them from within python. I found bsdiff which looks like a great algorithm and has a python extension module, but...
Discomposure asked 15/9, 2012 at 3:33

3

Is groovy's extension module feature a hybrid form of java's inheritance feature? Why are the extension-module needs to be declared as static?
Oxidation asked 26/4, 2015 at 14:51
1

© 2022 - 2025 — McMap. All rights reserved.