pallets / pallets/click

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

Open
#3,406 0 comments 1 reaction 1 assignee View on GitHub

@AndreasBackx is already working on this.

Since May 4, 2026.

typing
Dominant language
Python
Stars
17.7k
Forks
2.3k
Avg merge
1d 30m
Merged PRs (30d)
18

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.