Fix syslog 3.13 issues (#12380)

This commit is contained in:
Max Muoto
2024-07-20 16:07:00 -05:00
committed by GitHub
parent 8ccf26b440
commit 3030f013be
2 changed files with 7 additions and 10 deletions

View File

@@ -24,8 +24,3 @@ posixpath.splitroot
readline.backend
stat.SF_SUPPORTED
stat.SF_SYNTHETIC
syslog.LOG_INSTALL
syslog.LOG_LAUNCHD
syslog.LOG_NETINFO
syslog.LOG_RAS
syslog.LOG_REMOTEAUTH

View File

@@ -38,11 +38,13 @@ if sys.platform != "win32":
if sys.version_info >= (3, 13):
LOG_FTP: Final = 88
LOG_INSTALL: Final = 112
LOG_LAUNCHD: Final = 192
LOG_NETINFO: Final = 96
LOG_RAS: Final = 120
LOG_REMOTEAUTH: Final = 104
if sys.platform == "darwin":
LOG_INSTALL: Final = 112
LOG_LAUNCHD: Final = 192
LOG_NETINFO: Final = 96
LOG_RAS: Final = 120
LOG_REMOTEAUTH: Final = 104
def LOG_MASK(pri: int, /) -> int: ...
def LOG_UPTO(pri: int, /) -> int: ...