[Python-ideas] bool keyword: (was [Python-Dev] bool conversion wart?)
jcarlson at uci.edu
Fri Mar 2 23:16:03 CET 2007
Ron Adam <rrr at ronadam.com> wrote:
> The "small" inconsistency (if any) here is the 'not' keyword vs the
> 'bool()' constructor. They pretty much do the same thing yet work in
> modestly different ways.
Maybe I'm missing something, but is there a place where the following is
(not not x) != bool(x)
I can't think of any that I've ever come across.
More information about the Python-ideas