[Zope-CMF] [Performance] listFilteredActionsFor unnecessarily expensive

2005-04-05 Thread Dieter Maurer
In our regular profiles, listFilteredActionsFor belongs to the top consumers of CPU time. Recently, I found the main culprit (in CMF 1.4): It is the completely unnecessary: if not action in catlist: In our case, listFilteredActionsFor spends about 70 percent of its complete time in

Re: [Zope-CMF] Re: [dev] failing tests and other unit test issues

2005-04-05 Thread Dieter Maurer
yuppie wrote at 2005-4-4 20:59 +0200: ... 2.) I prefer to see the correct import in each file and to use utils just for the fallback. But, then you get a nasty try: ... except: in hundred of files rather than just a single one. -- Dieter ___

RE: [Zope-CMF] Access rule for setting skin

2005-04-04 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2005-4-4 11:37 -0400: ... As I think I'd mentionned, I get the Zope default home home page (Welcome to Zope, etc ...), but with a big warning at the top telling me that I don't have an administrative user setup and so on ... Which is obviously not true :) Fine. But, I

<    1   2