Okay, so size (and the B object) is effectively a class attribute, rather than an instance attribute. You can do this explicitly --
Ah, now I'm getting there. That does the trick.
Probably not worth the trouble in this particular case, but maybe in another case... :)
Yeah, maybe not. But I'll remember it as a useful recipe.
Cheers,
Christian
-- http://mail.python.org/mailman/listinfo/python-list