File created by multiple callers

Code reviewHard40 min

Your task

Review this Python routine that writes a file only if it doesn't already exist.

Under concurrent callers (threads or processes), what breaks?