Skip to content

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

@AndreasBackx

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

pythonPull requests that update Python code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions