On Mon, Feb 1, 2010 at 11:56 PM, Pablo Mouzo <pablomo...@gmail.com> wrote: > On Mon, Feb 1, 2010 at 10:23 PM, Paul Du Bois <paul.dub...@gmail.com> wrote: > [...] >> Sorry, I'm guilty of having assumed that the POSIX API has an >> operation analogous to win32 CreateFile(GENERIC_WRITE, 0 /* ie, >> "FILE_SHARE_NONE"*/). >> >> If shared-reader/single-writer semantics are not available, the only >> other possibility I can think of is to avoid opening the .pyc for > [...]
Actually, there are (sadly) many ways to do that. Projects like sqlite support shared-reader/single-writer on many platforms, so that code could be reused. Pablo _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com