Re: Python module import loop issue

2008-12-30 Thread Gabriel Genellina
En Tue, 30 Dec 2008 01:32:48 -0200, Carl Banks 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 metaclas

Re: Python module import loop issue

2008-12-29 Thread Kottiyath
On Dec 30, 8:24 am, "Gabriel Genellina" wrote: > En Mon, 29 Dec 2008 19:47:51 -0200, Carl Banks   > escribió: > > > On Dec 29, 10:51 am, Kottiyath wrote: > >> Module Factory: > >> A1Factory: {'B1Tag':1.1.B1, 'C1Tag':1.2.C1, 'D1Tag':1.3.D1'} > >> A2Factory: {'B2Tag':2.1.B2, 'C2Tag':2.2.C2, 'D2Tag

Re: Python module import loop issue

2008-12-29 Thread Carl Banks
Gabriel Genellina wrote: > En Mon, 29 Dec 2008 19:47:51 -0200, Carl Banks > escribi�: > > On Dec 29, 10:51�am, Kottiyath wrote: > > >> Module Factory: > >> A1Factory: {'B1Tag':1.1.B1, 'C1Tag':1.2.C1, 'D1Tag':1.3.D1'} > >> A2Factory: {'B2Tag':2.1.B2, 'C2Tag':2.2.C2, 'D2Tag':2.3.D2'} > >> > >> But,

Re: Python module import loop issue

2008-12-29 Thread Gabriel Genellina
En Mon, 29 Dec 2008 19:47:51 -0200, Carl Banks escribió: On Dec 29, 10:51 am, Kottiyath wrote: Module Factory: A1Factory: {'B1Tag':1.1.B1, 'C1Tag':1.2.C1, 'D1Tag':1.3.D1'} A2Factory: {'B2Tag':2.1.B2, 'C2Tag':2.2.C2, 'D2Tag':2.3.D2'} But, since Module requires objects of B1, C1 etc, it has

Re: Python module import loop issue

2008-12-29 Thread Carl Banks
On Dec 29, 10:51 am, Kottiyath wrote: > This might not be  pure python question. Sorry about that. I couldnt > think of any other place to post the same. > I am creating a _medium_complex_ application, and I am facing issues > with creating the proper module structure. > This is my first applicati

Python module import loop issue

2008-12-29 Thread Kottiyath
This might not be pure python question. Sorry about that. I couldnt think of any other place to post the same. I am creating a _medium_complex_ application, and I am facing issues with creating the proper module structure. This is my first application and since this is a run-of-the-mill applicatio