FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Implement PEP 661 Sentinel Values · Issue #148829 · python/cpython · GitHub

Repository navigation

Implement PEP 661 Sentinel Values #148829

Closed
Closed

Description

Feature or enhancement

Proposal:

PEP-661 has not been accepted (python/steering-council#258), but I hope to still get it in for 3.15, and in view of the short time window available I'd like to already submit a PR so those interested can review the implementation already while the SC deliberates.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. hugovk commented on Apr 21, 2026

    Member

    And I'll be happy if any buildbot failures can be found before any last-minute merge on release day :)

  2. added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)
    3.15bugs and security fixes
    on Apr 21, 2026
  3. added a commit that references this issue on Apr 28, 2026
  4. added a commit that references this issue on Apr 29, 2026
  5. scoder commented on Apr 29, 2026

    Contributor

    Was it considered to add a macro alias PySentinel_CheckExact(o) for PySentinel_Check(o) ?
    Or is there an inherent reason why the sentinel type will never, ever allow inheritance?

  6. hugovk commented on Apr 29, 2026

    Member

    There's discussion about subclassing at https://discuss.python.org/t/pep-661-sentinel-values/9126/341: not now, maybe later.

  7. added a commit that references this issue on Apr 30, 2026
  8. added 2 commits that reference this issue on May 13, 2026
  9. added 2 commits that reference this issue on May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.15bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL