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

Andrew Dalke adalke at mindspring.com
Wed Apr 23 22:40:49 EDT 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