Martin v. Löwis wrote:
And replace it with what?
I'm sure this will evolve into a long discussion on syntax, so I'll start: assert could become a function with one or two arguments. The arguments would always get evaluated; the actual exception-raising could still be conditional (perhaps through a context manager).
+1 for a function +0.5 for the else suggestion Michael
Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.u...
-- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/ http://www.trypython.org/ http://www.ironpython.info/ http://www.theotherdelia.co.uk/ http://www.resolverhacks.net/