-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add O_TMPFILE to os module #62873
Comments
Linux 3.11 gets a new flag for open(): Quote from http://lwn.net/Articles/557314/ Tasks:
|
I assume this would only be done in TemporaryFile()? |
How do you detect that a kernel does not support the flag? Try to use the flag and handle the error? |
New changeset f6034602410c by Christian Heimes in branch 'default': New changeset 815b7bb3b08d by Christian Heimes in branch 'default': |
I have added O_TMPFILE to the os module. I like to hold off with the actual use of O_TMPFILE in tempfile until Python 3.5. The feature is too new and I don't have any way to test it. Some people have reported file system corruption in 3.11-rc4, too. |
New changeset 0525f7268067 by R David Murray in branch 'default': |
Just for link. Issue bpo-21515 — tempfile use this functionality now. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: