On 4/8/2016 11:42 AM, Guido van Rossum wrote: > DeprecationWarning every time you use ~ on a bool? A DeprecationWarning should only be in the initial version of bool.__invert__, which initially would return int.__invert__ after issuing the warning that we plan to change the meaning. -- Terry Jan Reedy