I have a problem with inheritance under python. The class definition is longer, but the troublesome thing is:
from PIL import Image class MandelbrotImage (Image): pass I am getting the following error: Traceback (most recent call last): File "<stdin>", line 1, in ? File "mandelimage.py", line 3, in ? class MandelImage (Image): TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given) I am using python 2.4 from the Debian (Sid) packages. Is it a bug, or am I doing something wrong? zefciu -- -----BEGIN zefciu's GEEK CODE BLOCK----- Version: 3.12 GS d-(+) s+++:-- a-- C++ UL P- L++(+++) E--- W+ N++ o? K? w-- M- V? PS-(--) PE++(+) Y PGP+ t 5 X R tv- b++ DI D- G e>+++ h!>-- y? UF+ ------END zefciu's GEEK CODE BLOCK------ -- http://mail.python.org/mailman/listinfo/python-list