Code: https://github.com/wjakob/pybind11 Documentation: http://pybind11.readthedocs.org/en/latest/
Hi Wenzel, it looks excelent.
There are a few points in boost::python which have been unresolved for a long time: straightforward support for aligned types (Eigen comes to mind) and some subtle bugs in shared_ptr/weak_ptr (e.g. not holding GIL when deleting some python objects and crashing) which are not being fixed upstream. Could you comment on those?
I would suggest that the documents include some migration hints from boost::python, if I if ever attempt it (something like: use reference_internal instead of with_custodian_and_ward, this is how you write an equivalent of raw_function/raw_constructor).
Cheers, Václav
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org https://mail.python.org/mailman/listinfo/cplusplus-sig