[Zope] write file to FS (LocalFS?)

Dieter Maurer dieter at handshake.de
Thu Oct 20 15:46:48 EDT 2005


Chris Withers wrote at 2005-10-20 12:03 +0100:
> ...
>I would then have this modification done in a tightly controlled 
>external method (from a security point of view) and make sure you use 
>some big Locks (see python threading module's documentation) so multiple 
>simultaneous requests don't cause carnage...

Be careful with External Methods and locks:

  An External Method does not share the module namespace
  with the same External Methods in other workers.

  Thus, you should not use locks defined in the source file
  of the External Method (but outside in a true Python module).

-- 
Dieter


More information about the Zope mailing list