[Zope] Moving the Data.fs

Dieter Maurer dieter at handshake.de
Fri Dec 5 15:08:35 EST 2003


Jørgen Larsen wrote at 2003-12-5 09:24 +0100:
>Here is some more code:
>
>class Resource:
>
>  manage_main = HTMLFile('resEdit', globals(),language='English')
>
>  def refresh(self):
>    manage_main = HTMLFile('resEdit', globals(),language='English')
>
>
>I hope that’s another case?

It is not. "refresh" is still an expensive no-op...

>-----Original Message-----
>From: Dieter Maurer [mailto:dieter at handshake.de] 
>Sent: 4. december 2003 21:13
>To: Jørgen Larsen
>Cc: zope at zope.org
>Subject: RE: [Zope] Moving the Data.fs
>
>
>Jørgen Larsen wrote at 2003-12-4 08:47 +0100:
>> ...
>>def refresh(self):
>>  manage_main = HTMLFile('resEdit', globals(),language='English')
>
>That looks funny (and wrong):
>
>  You assign "HTMLFile()" to a local variable.
>
>  This should have no effect (other than consuming time).


-- 
Dieter



More information about the Zope mailing list