← Back to team overview

yade-dev team mailing list archive

Re: Python inheritance

 

Le jeu. 10 oct. 2019 11:13, William Chèvremont <
william.chevremont@xxxxxxxxxxxxxxxxxxxxxx> a écrit :

>
> I'll update the doc about subclassing c++ in python, as this is mandatory
> for all python code called from C++ while running O.run().
>

The doc should probably mention "pyRunString
<https://gitlab.com/yade-dev/trunk/blob/master/lib/pyutil/gil.cpp>", which
is currently used to run python commands from yade's c++.
It indeed includes a gilLock.
Bruno

References