[issue18673] Add and use O_TMPFILE for Linux 3.11

2013-08-16 Thread Roundup Robot
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

[issue18673] Add and use O_TMPFILE for Linux 3.11

2013-08-09 Thread STINNER Victor
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

[issue18673] Add and use O_TMPFILE for Linux 3.11

2013-08-09 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18673 ___ ___

[issue18673] Add and use O_TMPFILE for Linux 3.11

2013-08-08 Thread Jesús Cea Avión
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

[issue18673] Add and use O_TMPFILE for Linux 3.11

2013-08-06 Thread Christian Heimes
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

[issue18673] Add and use O_TMPFILE for Linux 3.11

2013-08-06 Thread Antoine Pitrou
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