Overloading and? was <RE: Should I prefer an external database>

Andrew Dalke adalke at mindspring.com
Thu Apr 24 04:40:49 CEST 2003


Steven Taschuk:
> I do not (and did not) endorse this notion for __and__.  I simply
> do not agree with the previous claim that there's no way to
> implement overloading and short-circuiting for the same operator.
>
> No *good* way given how Python works now, perhaps.

Ahhh, a nit-picker, eh?  :)

Let's see.  I said:
] There's no way to implement that behaviour in Python, so
] it cannot be overridden.

I submit that a language which worked in your suggested manner
would not be Python.

The nit is now in your court!

 :)

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list