[Zope-CMF] Cleaning up imports, question about odd "feature"

Tres Seaver tseaver at palladion.com
Mon Dec 29 13:20:13 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Charlie Clark wrote:
> Am 27.12.2008 um 20:03 schrieb Jens Vagelpohl:
> 
>> I always thought it was there to continually re-read the filesystem
>> representation upon access, so any filesystem changes are reflected
>> without restarting the instance. As to the usefulness, I'm not relying
>> on it when I do development. I always restart.
> 
> If this is the case then it would be nice to have some way of  
> preserving that behaviour. We have a few people working almost  
> exclusively working with templates on Windows systems where restarts  
> are particularly slow. However, PageTemplates are probably the only  
> objects it's worth preserving this kind of behaviour for.

As Jens noted, this change is for FSProperties and FSSQLMethods only.

> On another and only slightly related note: Tres, in September I seem  
> to remember you saying that the biggest stumbling block for moving to  
> Python 2.5 and beyond was support for RestrictedPython implements, ie.  
> PythonScripts. If this is the case, do we need to add deprecating  
> PythonScripts/untrusted code to the roadmap?

I don't have that appetite at the CMF level:  I think much of the work
has actually been done to ensure that RP works under Python 2.5+ already
at the Zope level.

>>> from AccessControl import ClassSecurityInfo
>>>
>>> becomes:
>>>
>>> from AccessControl.SecurityInfo import ClassSecurityInfo
>> +1
> 
> 
> I didn't realise this counts as a relative import but I'm all in  
> favour of spelling things out.

That one isn't relative:  it is just another "façade" import.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJWRTd+gerLs4ltQ4RAoHsAKCo5zw04ztXiDFGK9kqtc/mgqWesACgohZb
rUgUCzvuwrXNmaVGkM9gN4w=
=1ZzP
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list