Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
358be363
Commit
358be363
authored
Mar 10, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: os.open O_PATH and O_TMPFILE.
parent
82303533
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
Doc/library/os.rst
Doc/library/os.rst
+3
-2
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+5
-4
No files found.
Doc/library/os.rst
View file @
358be363
...
...
@@ -940,8 +940,9 @@ or `the MSDN <http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Window
the C library.
.. versionchanged:: 3.4
Add :data:`O_TMPFILE` constant. It's only available on Linux Kernel 3.11
or newer.
Add :data:`O_PATH` on systems that support it.
Add :data:`O_TMPFILE`, only available on Linux Kernel 3.11
or newer.
.. function:: openpty()
...
...
Doc/whatsnew/3.4.rst
View file @
358be363
...
...
@@ -1129,10 +1129,11 @@ Windows). (Contributed by Brian Curtin in :issue:`11939`.)
:func:`os.path.ismount` now recognizes volumes mounted below a drive
root on Windows. (Contributed by Tim Golden in :issue:`9035`.)
:func:`os.open` supports a new flag, :data:`~os.O_TMPFILE` (unnamed temporary
file) on platforms that provide it (as of 3.4.0 release, that means Linux
systems with a kernel version of 3.11 or newer that have uapi headers).
(Contributed by Christian Heimes in :issue:`18673`.)
:func:`os.open` supports two new flags on platforms that provide them,
:data:`~os.O_TMPFILE` (unnamed temporary file, as of 3.4.0 release available
only on Linux systems with a kernel version of 3.11 or newer that have uapi
headers), and :data:`~os.O_PATH` (un-opened file descriptor). (Contributed by
Christian Heimes in :issue:`18673` and Benjamin Peterson, respectively.)
pdb
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment