Roundup Robot added the comment:
New changeset f6034602410c by Christian Heimes in branch 'default':
Issue #18673: Add O_TMPFILE to os module. O_TMPFILE requires Linux kernel
http://hg.python.org/cpython/rev/f6034602410c
New changeset 815b7bb3b08d by Christian Heimes in branch 'default':
Issue
STINNER Victor added the comment:
use O_TEMPFILE in tempfile module when it's supported by the current kernel
How do you detect that a kernel does not support the flag? Try to use the flag
and handle the error?
--
nosy: +haypo
___
Python tracker
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18673
___
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18673
___
___
Python-bugs-list mailing list
New submission from Christian Heimes:
Linux 3.11 gets a new flag for open():
Quote from http://lwn.net/Articles/557314/
---
The new O_TMPFILE option to the open() and openat() system calls allows
filesystems to optimize the creation of temporary files — files which need not
be visible in the
Antoine Pitrou added the comment:
- use O_TEMPFILE in tempfile module when it's supported by the current
kernel
I assume this would only be done in TemporaryFile()?
--
components: -Extension Modules
keywords: +easy
nosy: +pitrou
___
Python