Skip to content

Inconsistent description of strict_optional #21658

Description

@95-martin-orion

Documentation

config_file.html says that "strict_optional {...} effectively disables checking of optional types and None values."

command_line.html says that "--no-strict-optional {...} effectively disables checking of optional types and None values."

Which is correct?

Additionally, the note "strict_optional=False is evil" (alternatively "--no-strict-optional is evil") is not terribly helpful for debugging a system which already uses these settings - a link to further info would be useful.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions