Right but it's not a status code - it's a callback that you *must* call
On Fri, 16 Jul 2021, 17:17 MRAB, wrote:
> On 2021-07-16 12:44, Stephen J. Turnbull wrote:
> > Thomas Grainger writes:
> >
> > > Another example, is a cash point (ATM) won't give you your money
> > > until you take your
On 2021-07-16 12:44, Stephen J. Turnbull wrote:
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.
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
Another example, is a cash point (ATM) won't give you your money until you
take your card
On Fri, 16 Jul 2021, 09:28 Stephen J. Turnbull, <
turnbull.stephen...@u.tsukuba.ac.jp> wrote:
> Ethan Furman writes:
>
> > Isn't that javascript? Javascript idioms are not (necessarily)
> > Python
Ethan Furman writes:
> Isn't that javascript? Javascript idioms are not (necessarily)
> Python idioms.
True, but unless there is (preferably) a Python idiom or one from
another language we borrow from at least somewhat frequently, why not
adopt the Javascript idiom?
Note: I don't think you