Skip to content

Clarification requested for library/syslog.rst #92412

@Gaasmann

Description

@Gaasmann

Hello,
While translating library/syslog.rst we've realized that the comment "Changed in 3.2" for syslog.openlog() seems ambiguous:
https://docs.python.org/3/library/syslog.html#syslog.openlog

In previous versions, keyword arguments were not allowed, and ident was
required. The default for ident was dependent on the system libraries,
and often was python instead of the name of the Python program file.

As ident was required before 3.2, it couldn't have a default value, so the sentence seems contradictory.
The documentation for 3.1 shows that ident is mandatory and the tests on the 3.1.5 distribution always define ident when calling openlog().

Could someone help us understand the meaning of this sentence?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions