Skip to content

Implement sentinels as types, support isinstance and match statments - #715

Closed
HexDecimal wants to merge 2 commits into
python:mainfrom
HexDecimal:sentinel-type
Closed

HexDecimal wants to merge 2 commits into
python:mainfrom
HexDecimal:sentinel-type

Implement sentinel objects as types

9dc25bc
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/project succeeded Apr 9, 2026 in 0s

96.75% (-0.63%) compared to 9cb611b

View this Pull Request on Codecov

96.75% (-0.63%) compared to 9cb611b

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.75%. Comparing base (9cb611b) to head (9dc25bc).
⚠️ Report is 7 commits behind head on main.

@@            Coverage Diff             @@
##             main     #715      +/-   ##
==========================================
- Coverage   97.38%   96.75%   -0.63%     
==========================================
  Files           3        3              
  Lines        7689     7711      +22     
==========================================
- Hits         7488     7461      -27     
- Misses        201      250      +49     
Files with missing lines Coverage Δ
src/test_typing_extensions.py 97.83% <100.00%> (-0.57%) ⬇️
src/typing_extensions.py 93.08% <100.00%> (-0.87%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.