# ~bool deprecation

**URL:** <https://discuss.python.org/t/bool-deprecation/62232>\
**Category:** Core Development\
**Created:** [August 28, 2024, 6:49pm UTC](https://discuss.python.org/t/bool-deprecation/62232 "2024-08-28T18:49:37Z")\
**Posts on this page:** 1\
**Showing post:** 97

<div class="post-metadata">

**Author:** ![guido](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/guido/32/21_2.png) [@guido](https://discuss.python.org/u/guido)\
**Post date:** [February 16, 2026, 1:40pm UTC](https://discuss.python.org/t/bool-deprecation/62232/97 "2026-02-16T13:40:12Z")

</div>

Right, I’ve changed my mind. Or maybe I wasn’t thinking far enough ahead at the time.

I would be okay if `~b` where `b` is statically typed as `bool` might trigger a warning in linters or static type checkers.

---

_[View the full topic](https://discuss.python.org/t/bool-deprecation/62232)._
