Skip to content

Migrate sentinels to use Python 3.15's PEP 661 sentinel built-in with typing_extensions backport #3406

Description

@AndreasBackx

Migrate sentinel values like at src/click/_utils.py to use the introduced sentinel built-in coming in Python 3.15. For older versions we can use typing_extenions.sentinel.

Metadata

Metadata

Assignees

Labels

typingType annotations and stubs

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions