← Back to team overview

kicad-developers team mailing list archive

Re: Python binding of enums


On 08/09/2012 12:59 PM, Lorenzo Marcantonio wrote:
> On Thu, Aug 09, 2012 at 12:45:37PM -0500, Dick Hollenbeck wrote:
>> I just want Jean-Pierre and Wayne to step in and comment on the
>> notion of using a "bad argument exception" before it becomes propagated widely.
> I also vote against the bad argument exception in internal classes...
> unless these classes (or these functions) are actually designed for I/O
> or scripting interface (i.e. boundary classes).

I did not cast my vote.  I was just saying it should be discussed then decided upon.  Some
costs are worth the benefit. 

We will necessarily have to start weighing Miguel's opinion on scripting decisions more
and more.  But maybe there is some general acceptance possible here.

Follow ups