← Back to team overview

kicad-developers team mailing list archive

Re: Pcbnew Python Interface breakage?


On 06/27/2017 04:49 PM, Kaspar Emanuel wrote:
> On 27 June 2017 at 07:56, Maciej Sumiński <maciej.suminski@xxxxxxx> wrote:
> PLUGIN::FootprintEnumerate() signature has changed [1] and now instead
>> of returning wxArrayString, it takes one as a reference and fills it out.
> Thanks Orson, looks like Python bindings for that function are currently
> broken then. I think I can use the binding for PLUGIN::FootprintLoad for my
> purposes though it doesn’t throw any sensible exceptions when it can’t
> parse a footprint.

I am afraid such breaks may happen more often. We still do not have well
defined Python interface providing an abstraction layer to C++ code and
it is hard to develop new features without modifying interfaces from
time to time.

I have fixed the methods reported by Maurice and Simon because they were
declared in SWIG files, so I consider them a part of the official Python
interface (perhaps incorrectly).


Attachment: signature.asc
Description: OpenPGP digital signature

Follow ups