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

Terry Reedy tjreedy at udel.edu
Tue Apr 22 19:02:09 CEST 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