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

Terry Reedy tjreedy at udel.edu
Tue Apr 22 13:02:09 EDT 2003


> Does anyone know the reason for not allowing an overload of the and
operator?

I presume because 'and' and 'or' are already defined for all Python
objects (that have not disabled logic by raising an exception when
asked for truth value).

TJR






More information about the Python-list mailing list