Re: Parameter checking on an interfase

2007-05-09 Thread w . m . gardella . sambeth
On 9 mayo, 17:42, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] a écrit : > > > > > Hi all, > > I am more or less new to Python, and currently am making my > > first "serious" program. The application is a Clinical History manager > > (for my wife) which stores its data

Re: Parameter checking on an interfase

2007-05-09 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > Hi all, > I am more or less new to Python, and currently am making my > first "serious" program. The application is a Clinical History manager > (for my wife) which stores its data on a sqlite database. After > googling on this newsgroup, I have read several th

Re: Parameter checking on an interfase

2007-05-08 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: ... > In this case, could be reasonable add type checking LBYL style > on the methods, so if passed data is of wrong type, it generates a > adequate exception to be catched by the caller? In this way, the rest As maybe one of the first popular authors to use L