]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-87286: Add a number of LOG_* constants to syslog (#24432)
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 12 Dec 2023 09:25:51 +0000 (10:25 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Dec 2023 09:25:51 +0000 (10:25 +0100)
commit0d2fe6bab01541301abe98a23ee15a16f493fe74
treeb53630231a939d7ce85b8d6d9a6b99dcda246ac2
parente0fb7004ede71389c9dd462cd03352cc3c3a4d8c
gh-87286: Add a number of LOG_* constants to syslog (#24432)

* bpo-43120: Add a number of LOG_* constants to syslog

This adds a number of syslog facilities to the syslogmodule.c.
These values are available on macOS.

* Switch contant documentation to the data directive

This fixes a CI warning and matches the pattern
used in the documentation for ``os``.

* Update Doc/library/syslog.rst

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Doc/library/syslog.rst
Doc/tools/.nitignore
Misc/NEWS.d/next/Library/2023-12-07-16-55-41.gh-issue-87286.MILC9_.rst [new file with mode: 0644]
Modules/syslogmodule.c