[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-03 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-03 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset f917c243c52d62a787738379fb9b97acbed02c17 by Dong-hee Na in branch 'master': bpo-43106: Add os.O_EVTONLY/O_FSYNC/O_SYMLINK/O_NOFOLLOW_ANY (GH-24428) https://github.com/python/cpython/commit/f917c243c52d62a787738379fb9b97acbed02c17 --

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-03 Thread Dong-hee Na
Dong-hee Na added the comment: O_FSYNC could be used as an alias of O_SYNC. O_EVTONLY is used for kqueue API. but other flags I don't know where to use it. So I submit the patch to add O_FSYNC and O_EVTONLY only. If other flags should be added, please let me know --

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-03 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +23238 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24428 ___ Python tracker

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-02 Thread Dong-hee Na
Dong-hee Na added the comment: I can see some users use such flags with manual mapping Looks good to support it :) https://github.com/TaskEvolution/Task-Coach-Evolution/blob/master/taskcoach/taskcoachlib/filesystem/fs_darwin.py#L27 -- ___ Python

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-02 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Likewise for O_POPUP and O_ALERT, although I don't understand what these are supposed to do. -- ___ Python tracker ___

[issue43106] Some macOS open flags are missing from posixmodule.c

2021-02-02 Thread Ronald Oussoren
New submission from Ronald Oussoren : The following O_* flags are present in the macOS 11 SDK, but aren't provided by posixmodule.c: O_FSYNC (alias for O_SYNC) O_EVTONLY O_SYMLINK O_NOFOLLOW_ANY -- components: Extension Modules, macOS keywords: easy (C) messages: 386159 nosy: