Skip to content

Concept: use explicit None for empty parameters instead of eg RangeExpr() #465

@ducky64

Description

@ducky64

The default provides a concrete default value (typically ideal, eg, RangeExpr.ALL), while an explicit None means not-set.

Helps limit proliferation of internal constructs through the external API.

Likely requires defining RangeLike and friends as Optional, allowing None to be passed through the chain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions