[issue17222] py_compile.compile() explicitly sets st_mode for written files

Barry A. Warsaw report at bugs.python.org
Thu May 16 17:57:16 CEST 2013


Barry A. Warsaw added the comment:

Antoine says:

> 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.

But I think that's not necessarily true.

http://mail.python.org/pipermail/python-dev/2013-May/126241.html

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17222>
_______________________________________


More information about the Python-bugs-list mailing list