text_combined: mark hammond nkpmuffqskippinetcomau business safely writing pickles got wondering locking files rather implement something spambayesspecific scouted around little bit implemented something hopefully reasonable api think crossplatform allows multiple different implementations currently one based oslink osmkdir one uses sqlite database maintain lock info might someday good enough inclusion python proper one true way advisory file locking result lockfile module find local neighborhood virtual cheese shop httppypipythonorgpypilockfile ive done fair amount testing mac fair number doctests thank uncle timmy scott dial python dev mailing list ran paces windows bit sent revisions scotts inputs ive received direct feedback module though first raised idea one lockmechanismto rulethemall generated comments suspect py3k impending 252 release probably sucking available python developer round tuits today added lockfile usage dave abrahams safe_pickle function process renaming safe_pickle_write adding corresponding safe_pickle_read replaced pickledumpload calls relevant safe_pickle_writeread functions code checked yet ive attached diff current rev 3168 im interested people think proceed possibilities throw dont need dependencies external crap keep pull lockfile spambayes package ease distribution check changes head create branch check changes get 11 door damn leave 12 around 2011 keep safe_pickle_readwrite functions take lockfile stuff imo cost locks greater cost managing module ive real opinion best manage code im personally willing jump small hoops eg downloading external package help make work hand expecting users running sourcecode ie nonwindows world download extra packages error prone id happy cvs users needing install external module source distribution include assuming isnt much pita cheers mark _______________________________________________ spambayesdev mailing list bsfegmjrrhnqpythonorg httpmailpythonorgmailmanlistinfospambayesdev wed 06 aug 2008 132819 1100 spambayesdev feedback requested external lockfile module