Thomas Grainger writes: > Another example, is a cash point (ATM) won't give you your money > until you take your card
That ATM is effective in enforcing the desired behavior. In Python you would usually use an exception to force handling. Returning status codes, or couples of status codes and values, isn't nearly as effective. And a (status, value) couple does nothing to encourage checking the code over (value, status). Steve _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/56D2SVEAXHJHPV526BPAKCMWDI7H6KPN/ Code of Conduct: http://python.org/psf/codeofconduct/
