On 2012-07-17 10:23, Andrew Berg wrote:
I don't want that, but I am suggesting that it would be consistent with
the idea of "something or nothing".
Don't confuse names and objects. You can only test the truth value of objects. If you don't have a name in a namespace, then it means you don't have a tool to have a reference to anything (including the False object).

Using the same logic you could also say that not giving any condition to the "if" statement should be evaluated as False:

if:
    print "This never gets executed"

But  it makes no sense.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to