~bool deprecation

There hasn’t been any PEP. Discussion was in bool(~True) == True · Issue #82012 · python/cpython · GitHub and the concrete solution was discussed in bool(~True) == True · Issue #82012 · python/cpython · GitHub and following comments.

Edit: A comprehensive summary argument can be found in ~bool deprecation - #17 by timhoffm

1 Like