"Greg Copeland" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Okay, I have:
[snip]
>        self._childAttrib = "child"
...
> AttributeError: 'Child' object has no attribute '_childAttrib'
>>>> x.__dict__
> {'_attrib': 'base'}
>
> What??!  Where the heck did self._childAttrib go?  And why?

I don't immediately see the problem.  Failing that, I would rerun with
        print 'setting '_childAttrib' # and
        print self._childAttrib
bracketing the line where it should be set, and go one from there.

Terry J. Reedy




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to