Antoine Pitrou added the comment: > Unless there is some way that I can't think of to have the atomic write > still exist but not change the type of file it replaces
How about using the `mode` to write_atomic? (which, incidentally, is already used to mirror the .py file's permissions in SourceFileLoader._cache_bytecode) ---------- _______________________________________ 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