kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #12647
Re: Fwd: Python plugin for pcbnew
> So on the contructor I have:
> ...
> m_pythread = Py_NewInterpreter();
> ...
>
> then when I use it I do
> ....
> PyEval_AcquireLock();
> PyThreadState_Swap(m_pythread);
> // speak with python/module...
> PyThreadState_Swap(g_PythonMainTState);
> PyEval_ReleaseLock();
>
> Do you think it is ok ?
>
> I understand that this is the opposite way of your idea (python at top
> and C++ at the bottom) but I don't know if it's possible (in current
> state) to do this by an other way.
>
> Regards
Again, you did good. I don't know who I am dealing with, how strong the developer is,
whether the investment in time is worth it. We get a lot of wanna be programmers here.
I am not retired, or running a software training center.
You have proven to be a capable developer. In effect my previous email was a test.
You passed.
Dick
References