You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an equivalent of
boost::python::delitem
andboost::python::handle_exception
in pybind11?delitem
allsPyObject_DelItem
? I foundpybind11::delattr
but nodelitem
.handle_exception
to wrap aexec_file
, I'm not sure I cannot remove the wrapping and simply useeval_file
with pybind11?I'm switching from Boost.Python to pybind11, it would be nice to have some kind of equivalence page to know what to do in some cases.
Beta Was this translation helpful? Give feedback.
All reactions