Charles-François Natali <neolo...@free.fr> added the comment: Here's a patch using pseudo-random filenames. I used id(path) to generate a random name: it's faster than getpid(), and doesn't pollute strace's output (I'm one of strace's biggest fan :-).
---------- Added file: http://bugs.python.org/file23571/import_atomic_race-1.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13303> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com