Python module import loop issue
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Tue Dec 30 09:12:32 EST 2008
En Tue, 30 Dec 2008 01:32:48 -0200, Carl Banks <pavlovevidence at gmail.com>
escribió:
> Gabriel Genellina wrote:
>> A problem with metaclasses is when you have intermediate subclasses that
>> are not meant to be registered, but the metaclass applies equally to all
>> of them.
>
> Not the way I wrote it. If you'll note, the metaclass only added the
> class to the factory map if a tag attribute was defined in the class
> dict.
Ah, I didn't notice that, sorry!
--
Gabriel Genellina
More information about the Python-list
mailing list