Re: __metaclass__ and deepcopy issue

2008-10-18 Thread Raymond Hettinger
On Oct 17, 1:00 am, Wouter DW <[EMAIL PROTECTED]> wrote: > I read the article > onhttp://www.python.org/download/releases/2.2/descrintro/#metaclasses > and started using autoprop. > But now I have a problem I can't seem to solve myself. > > class autoprop(type): >   def __init__(cls, name, bases,

__metaclass__ and deepcopy issue

2008-10-17 Thread Wouter DW
I read the article on http://www.python.org/download/releases/2.2/descrintro/#metaclasses and started using autoprop. But now I have a problem I can't seem to solve myself. class autoprop(type): def __init__(cls, name, bases, dict): super(autoprop, cls).__init__(name, bases, dict) props