Remove `bool.__invert__` for 3.16
Open
@sobolevn is already working on this.
Since May 8, 2026.
interpreter-core
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Feature or enhancement
It is scheduled for removal in 3.16:
Refs https://github.com/python/cpython/pull/103487
Refs #82012
Linked PRs
- gh-149533
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.