Message 106609 - Python tracker (original) (raw)
Antoine Pitrou <pitrou@free.fr> added the comment:
Would you prefer to not define the function instead of writing a pseudo- atomic function?
Your current implementation is useless, since it doesn't achieve anything new. Besides, if the function isn't atomic, don't name it atomic_XXX.
Someone may reimplement it with unlink+rename which is worse :-)
But ok, you prefer to not define the function if no real atomic implementation can be written.