Antoine Pitrou added the comment: Ah, right. Well, there would be an argument not to use os.replace() in py_compile, since it's an offline processing step which generally shouldn't race with another (online) processing step.
Still, I wonder what the use case is (apart from the /dev/null case for which the answer is simply "don't do it" :-)). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17222> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com