Kevin Dangoor wrote:
> On 2/13/06, Simon Belak <[EMAIL PROTECTED]> wrote:
>> Kevin Dangoor wrote:
>>> Some of those imports couldn't be at the top because of circular
>>> import problems.
>> I see.
>> Doesn't this call for some refactoring (I can look into it, if you like).
> 
> The main problem is turbogears.__init__. For example,
> turbogears.__init__ imports controllers, controllers tries to import
> widgets, widgets imports turbogears in order to get at some other
> service. If there's a clean way to refactor that, fine. Otherwise,
> there's not a lot of harm being caused by having a couple imports
> inside of methods.

Only problematic module is big_widgets, specifically 
AutoCompleteDesc.search.
I haven't worked or even looked at widgets much, so I can't offer any 
solution but is there really no way around this? Aside from aesthetics, 
performance suffers as well. Not to mention, if we are careless, this 
could become a major problem down the road.

Cheers,
Simon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to