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

Cedric BRINER work at infomaniak.ch
Mon Apr 25 09:26:02 BST 2005


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 ???


-- 

Cedric BRINER




More information about the PyQt mailing list