See the pybind repo here: https://github.com/pybind/pybind11 This is the first step to address issues related to timing, also raised in issues #28 and #26.