```python
class Foo(object):
    barfoo = 1
    foobar = [1]

class Bar(Foo):
    pass

class Baaz(Foo):
    def __init__(self):
        self.barfoo = 42
        self.foobar[0] = 42

bar = Bar()
baaz = Baaz()

print bar.barfoo  # 1
print baaz.barfoo # 42
print bar.foobar  # [42]
print baaz.foobar # [42]
```