[ZODB-Dev] Before-abort hook?

Tino Wildenhain tino at wildenhain.de
Fri Mar 24 05:24:52 EST 2006


Stefan H. Holek schrieb:
> Hi all,
> 
> The ExtFile product I maintain keeps its payload on the filesystem.  All 
> operations are performed using temporary files which are then  saved or 
> deleted on transaction commit or abort respectively.
> 

Do you remember, when you use the tempfile module, you get a filehandle
with a "nameless" file which automatically vanishes if you close the
handle. Maybe this solves the problem for you?

Regards
Tino


More information about the ZODB-Dev mailing list