kicad-developers team mailing list archive
Mailing list archive
Re: Regression Testing
I see your point,
this is not a problem when calling pcbnew objects from outside pcbnew,
from inside, it could be a problem if we multithreadWx does run as a single thread event loop, or is it multithread?
I'm trying to remember from our previous GIL mail threads, but I cannot remember… :)
Miguel Angel Ajo
On Wednesday, 1 de May de 2013 at 18:27, Lorenzo Marcantonio wrote:
> On Wed, May 01, 2013 at 05:38:48PM +0200, Miguel Angel Ajo wrote:
> > If the object is obtained via GetBoard() , it won't be deleted by python
> > because he doesn't own it.
> Yes but *nothing* prevents C++ to delete an object which is 'held' (not
> created) by python (that's the reason for python being best extended: it
> like to manage objects itself). AFAIK at the moment all the object are
> created and delete from the C++ side only so python has objects
> disappearing under its feet.
> Anyway, unless we spend a lot of time designing smart proxies to cope
> with it, I don't have any solution for the problem different than "be
> careful keeping object references on the python side".
> Lorenzo Marcantonio
> Logos Srl
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx (mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx)
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp