FEEDBACK WANTED: Type/class unification

Jiba a11w at
Fri Aug 10 17:41:53 CEST 2001

I've just read :

> There's one very specific (and fortunately uncommon) bug that used to go undetected, but which is now reported as an error: 

class A:
	def foo(self): pass

class B(A): pass

class C(A):
	def foo(self):

What about using wrappers ? Say, i've an instance o of class O. I can
call :


but what occurs if o is a wrapper to oo, an instance of O (Like a
Bastion-wrapper) ?

Obviously, if o is a wrapper, we can call o.method(), but...
By the way, it's interesting to notice that, for wrapper, o.method() is
not the same think than O.method(o)...


More information about the Python-list mailing list