Re: some import / namespace questions

2007-08-08 Thread Graham Dumpleton
On Aug 9, 1:11 am, stef mientki <[EMAIL PROTECTED]> wrote: > hello, > > I'm working on a rather strange program, > that is partially build dynamically, > and where users can create plugins, > without knowing any of the details of the core program. > > Of course this leads to some weird bugs, > so o

Re: some import / namespace questions

2007-08-08 Thread Steve Holden
stef mientki wrote: > Marc 'BlackJack' Rintsch wrote: >> On Wed, 08 Aug 2007 17:11:19 +0200, stef mientki wrote: >> >> >>> Now it's not possible to import in the existing modules the main plugin, >>> like >>>from Main_User import * >>> because this will start the infinite loop. >>> >>

Re: some import / namespace questions

2007-08-08 Thread stef mientki
Marc 'BlackJack' Rintsch wrote: > On Wed, 08 Aug 2007 17:11:19 +0200, stef mientki wrote: > > >> Now it's not possible to import in the existing modules the main plugin, >> like >>from Main_User import * >> because this will start the infinite loop. >> > > Which means there's code at t

Re: some import / namespace questions

2007-08-08 Thread Marc 'BlackJack' Rintsch
On Wed, 08 Aug 2007 17:11:19 +0200, stef mientki wrote: > Now it's not possible to import in the existing modules the main plugin, > like >from Main_User import * > because this will start the infinite loop. Which means there's code at the module level. Tell the users to put that into a fun

some import / namespace questions

2007-08-08 Thread stef mientki
hello, I'm working on a rather strange program, that is partially build dynamically, and where users can create plugins, without knowing any of the details of the core program. Of course this leads to some weird bugs, so one of the things I want to view/log is the order (and even better the way)