[Python-Dev] type categories

Guido van Rossum guido@python.org
Mon, 26 Aug 2002 17:56:52 -0400


> It gets harder if you want to remove a method or marker. The problem is 
> that there is currently no way to mask inherited attributes. This will
> require either a language extension that will allow you to del them or 
> using some other convention for this purpose.

Can't you use this?

def B:
   def foo(self): pass

def C:
   foo = None # Don't implement foo

--Guido van Rossum (home page: http://www.python.org/~guido/)