Serhiy Storchaka added the comment: If you needs non-default permission for particular file, you can use one of available ways mentioned above.
I think this issue can be closed. The original issues are resolved: 1. os.open() (corresponding to syscall open()) allows this. 2. There are other ways to create Python file with specific permissions (pass fd or use opener). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29214> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com