gabor schrieb: > i also recommend this approach. > > also, raising an exception goes well with the principle of the least > surprise imho.
Are you saying you wouldn't have been surprised if that had been the behavior? How would you deal with that exception in your code? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list