Semen Yesylevskyy
Semen Yesylevskyy
> Strange, that looks more or less like the fixed issue #76 You are right, the latest git version works. It seems that pip repository still contains outdated version where...
@YannickJadoul, thank you very it really works! I don't mind doing black magic (and the magic is in fact quite logical) but currently the user is not even aware that...
Another suggestion. Probably it makes sense to provide an easy non-copying conversion from any contiguous buffer to py::arrray? Something like: ``` auto v = new std::vector(some_func()); py::array array_from_buffer(v, int ndim,...
Sure, it won't work with "input" function parameters but works for "output" when one transforms c++ signature to python function returning tuple of numpy arrays instead of bunch of ref...
Bump! Is this inconsistent behavior considered normal?
In my case the error is no longer present after fixing a discrepancy in module-name in pyproject.toml. However, the error message is still very weird and not helpful at all...
@tiran this is not a PR. I've fixed it in my code base (can't find an exact commit now) and now sdist works as expected. I didn't update the PyPi...
Yes, this is what I did initially. Unfortunately it doesn't work: `what(): Tried to call pure virtual function "A::func"` That is what I can't understand, actually.
@dean0x7d Here is minimal example to reproduce: ``` //----------------------------- #include using namespace std; namespace py = pybind11; class A { public: A(){} A(const A& other){} virtual void func()=0; virtual A*...
> Wait, I'm now wondering if o.cast(); is the right thing to do. Since there will be a shared_ptr inside, no? Unless I call clone() this cast gives me pointer...