Re: Pb with descriptor and super ...

2007-03-09 Thread Erwan Adam
Gabriel Genellina a écrit : > En Fri, 09 Mar 2007 06:25:08 -0300, Erwan Adam <[EMAIL PROTECTED]> > escribió: > >> I have a problem with the use of descriptors >> and super. The file is : > > Descriptors for "super" behave a bit different than f

Re: Pb with descriptor and super ...

2007-03-09 Thread Erwan Adam
Erwan Adam a écrit : > Hi all, > > I have a problem with the use of descriptors > and super. The file is : > > # --- > > class Desc(object): > def __init__(self, class_name): > self.class_name = class_name > return

Pb with descriptor and super ...

2007-03-09 Thread Erwan Adam
Hi all, I have a problem with the use of descriptors and super. The file is : # --- class Desc(object): def __init__(self, class_name): self.class_name = class_name return def __get__(self, obj, typ): print "Desc.__get__ : class_name is %s, obj is

Pb with __del__ and inheritence

2007-03-07 Thread Erwan Adam
Hello all, Can someone reproduce this bug ... I use : [EMAIL PROTECTED] /home/adam/Work/Python]> python Python 2.4.3 (#2, Sep 18 2006, 21:07:35) [GCC 4.1.1 20060724 (prerelease) (4.1.1-3mdk)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> First test : [EMA