Neal Becker wrote:
but it does violate the principle "Exceptions should be used for exceptional conditions).
Python doesn't really go in for that philosophy. Exceptions are often used for flow control, e.g. StopIteration. -- Greg -- https://mail.python.org/mailman/listinfo/python-list