kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #27119
Re: Current state of ActionPlugin
-
To:
Chris Pavlina <pavlina.chris@xxxxxxxxx>, jp charras <jp.charras@xxxxxxxxxx>
-
From:
Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>
-
Date:
Tue, 10 Jan 2017 17:17:46 +0100
-
Authentication-results:
spf=pass (sender IP is 188.184.36.48) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
Cc:
KiCad Developers List <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAJjCH9ryyVEiRKQi-6Wt-um=qqNX_GRZixR1VsgJLqziekhfvg@mail.gmail.com>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
On 10.01.2017 16:00, Chris Pavlina wrote:
> Frankly I don't think we should be encouraging users to use the Python
> API until it is significantly improved. The issues JP raises make the
> API completely unsuitable for plugin use. It's opaque and no users have
> any idea how to write robust Python plugins given the current state of
> the API.
Hi Chris,
I second your opinion. The current Python API reflects a very unstable
and C++-ish internal API of pcbnew. We can't do even a basic refactoring
of our code without breaking the scripts.
@JP: concerning undo/ratsnest/connectivity updates, using BOARD_COMMITs
instead of the BOARD directly solves this issue, but it would be still a
very C++-style code put in Python world.
Happy New Year
Tom
References
-
Current state of ActionPlugin
From: Jean-Samuel Reynaud, 2017-01-03
-
Re: Current state of ActionPlugin
From: Wayne Stambaugh, 2017-01-04
-
Re: Current state of ActionPlugin
From: Jean-Samuel Reynaud, 2017-01-04
-
Re: Current state of ActionPlugin
From: Wayne Stambaugh, 2017-01-04
-
Re: Current state of ActionPlugin
From: Jean-Samuel Reynaud, 2017-01-09
-
Re: Current state of ActionPlugin
From: Nick Østergaard, 2017-01-09
-
Re: Current state of ActionPlugin
From: Jean-Samuel Reynaud, 2017-01-10
-
Re: Current state of ActionPlugin
From: Maciej Sumiński, 2017-01-10
-
Re: Current state of ActionPlugin
From: jp charras, 2017-01-10
-
Re: Current state of ActionPlugin
From: Chris Pavlina, 2017-01-10