[Zope] Trapping zope exceptions in python script
Jonathan
dev101 at magma.ca
Thu Dec 15 08:36:01 EST 2005
Andreas wrote:
>
My 2 cents: PythonScripts are restricted and are *not* thought to be a full
replacement for Python modules. If you need this functionaltiy consider
writing a Zope Product, using external methods or using TrustedExecutables.
>
If python scripts are restricted from accessing zExceptions (for security
reasons???) then why allow python scripts to trap zExceptions in bare
try/excepts? If the logic for not allowing zExceptions in plain vanilla
python scripts is for security reasons, then allowing bare try/excepts would
seem to be a security hole (though, I don't see the rationale for this).
My 2 cents.
Jonathan
More information about the Zope
mailing list