Charles Merriam wrote:
It would be great to change assert from:
     assert_stmt        ::=     "assert" expression ["," expression]
To:
     assert_stmt        ::=     "assert" expression ["as" expression]

I don't think "as" is the right word to use here...
maybe

   assert <condition> else <expr>

That is, would
  assert "tuple","implied" as "Message"
or
  assert neverHappen > 0, "Programmer used 2.5 syntax here"
be valid statements?

I think they should be invalid. I can't see a use case
for this -- the resulting condition would always be true.

--
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to