mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 16:37:13 +00:00
114bfeb762
args was derived from list, but cpp_function::dispatcher sends a tuple to it->impl (line #346 and #392 in pybind11.h). As a result args::size() and args::operator[] don't work at all. On my mac args::size() returns -1. Making args a subclass of tuple fixes it. |
||
---|---|---|
.. | ||
pybind11 |