[PyKDE] eric3>>Debug browser>>local variables

Detlev Offenbach detlev at die-offenbachs.de
Mon Apr 25 20:06:09 BST 2005


Am Montag, 25. April 2005 10:26 schrieb Cedric BRINER:
> distrib: sarge
> eric: 3.6.2
>
> hi,
>
> In the case we have a class derived from dictionnary like :
>
> class DICT(dict):
>    def __init__(self):
>       self.name='a Name'
>       print self.name          #        <-----------breakpoint (I)
>       super(DICT,self).__init__()
>
>
> dico=DICT()
>
> is that normal, that at the breakpoint position, I'm not able to see in the
> debug-browser that `self' has a `name' attribute with the value `a Name'??:
> locals    | Value              | type
> - self      {}                   __main__.DICT      <-- i just see this one
>  \-name     a Name               String             <-- and not this one
>
> is this the normal behaviour ???

No, that seems to be a bug. I'll have to check what is going on.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list