summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2021-02-03 23:32:55 (GMT)
committerGitHub <noreply@github.com>2021-02-03 23:32:55 (GMT)
commitf917c243c52d62a787738379fb9b97acbed02c17 (patch)
tree4516bfbadf11f83ce17637aac219fb7fdf1ff8ac /Doc
parentd4e6ed7e5fb43320ea714d7436bc11667c624d43 (diff)
downloadcpython-f917c243c52d62a787738379fb9b97acbed02c17.zip
cpython-f917c243c52d62a787738379fb9b97acbed02c17.tar.gz
cpython-f917c243c52d62a787738379fb9b97acbed02c17.tar.bz2
bpo-43106: Add os.O_EVTONLY/O_FSYNC/O_SYMLINK/O_NOFOLLOW_ANY (GH-24428)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst10
-rw-r--r--Doc/whatsnew/3.10.rst4
2 files changed, 14 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 35cf7c0..371d59e 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1090,6 +1090,16 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
The above constants are only available on Windows.
+.. data:: O_EVTONLY
+ O_FSYNC
+ O_SYMLINK
+ O_NOFOLLOW_ANY
+
+ The above constants are only available on macOS.
+
+ .. versionchanged:: 3.10
+ Add :data:`O_EVTONLY`, :data:`O_FSYNC`, :data:`O_SYMLINK`
+ and :data:`O_NOFOLLOW_ANY` constants.
.. data:: O_ASYNC
O_DIRECT
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index d80ceec..fa8b6aa 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -411,6 +411,10 @@ descriptors without copying between kernel address space and user
address space, where one of the file descriptors must refer to a
pipe. (Contributed by Pablo Galindo in :issue:`41625`.)
+Added :data:`~os.O_EVTONLY`, :data:`~os.O_FSYNC`, :data:`~os.O_SYMLINK`
+and :data:`~os.O_NOFOLLOW_ANY` for macOS.
+(Contributed by Dong-hee Na in :issue:`43106`.)
+
pathlib
-------