-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
invalidpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Description
Bug report
Bug description:
Because logging.config.dictConfig
can only pass constructor parameters, it’s impossible to set SysLogHandler.append_nul
via dictConfig
(for that matter, it’s also impossible to set ident
, but that doesn’t really matter because you can just prepend the relevant text to every message in the formatter instead). Given that the SysLogHandler
constructor only takes parameters of specific fixed names, no correct code can already have been passing a parameter to it named append_nul
and been expecting something else to happen, so I don’t see how this would be a backwards compatibility issue.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
invalidpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Projects
Status
Done