Solved: Metaclass conflict TypeError exception: problem demonstration script

Tim Golden mail at timgolden.me.uk
Mon Feb 23 10:28:02 EST 2009


Barak, Ron wrote:
> That's it.
> 
> Once I changed my class header to:
> 
> $ cat -n metaclass_test01.py
>      1  #!/usr/bin/env python
>      2
>      3  import sys
>      4  import wx
>      5  import CopyAndPaste
>      6
>      7  class ListControl(wx.Frame, CopyAndPaste.CopyAndPaste):
> 
> I'm getting no more Metaclass conflict TypeError exceptions   :-)
> (a clear case of "The Devil Is In The ...")



Glad we could help. Also a good indication of how important it
is to produce real code which really fails in the real way!
Sometimes you can look at it yourself even before you post
and see the problem.

:)

TJG



More information about the Python-list mailing list