summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>2023-12-13 19:55:31 (GMT)
committerGitHub <noreply@github.com>2023-12-13 19:55:31 (GMT)
commitf14e3d59c955fb3cf89e5241727ec566164dcf42 (patch)
treec2966ead389d634e28a21f265464d8b815574687 /Python/pystate.c
parent85923cb377c4a13720c135da9ae3ed93465a81e7 (diff)
downloadcpython-f14e3d59c955fb3cf89e5241727ec566164dcf42.zip
cpython-f14e3d59c955fb3cf89e5241727ec566164dcf42.tar.gz
cpython-f14e3d59c955fb3cf89e5241727ec566164dcf42.tar.bz2
gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960)
POSIX specifies that implementations are not required to support changing the file mode of symbolic links, but may do so. Consequently, `lchmod()` is not part of POSIX (but mentioned for implementations which do support the above). The current wording of the availability of `os.lchmod()` is rather vague and improved to clearly tell which POSIX/Unix/BSD-like support the function in general (those that support changing the file mode of symbolic links). Further, some examples of major implementations are added. Data for the BSDs taken from their online manpages. Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions