[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 Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[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-08 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[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 trac

[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 f