[issue13303] Sporadic importlib failures: FileNotFoundError on os.rename()
report at bugs.python.org
Mon Oct 31 17:58:05 CET 2011
Antoine Pitrou <pitrou at 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 :-).
If you go that way, you should also modify Python/import.c to use a
(it does sound a bit overkill to me :-))
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list