On 11-06-18 10:35, Marko Rauhamaa wrote: > Antoon Pardon <antoon.par...@vub.be>: >> On 11-06-18 02:28, Steven D'Aprano wrote: >>> The *whole point* of o.p.exists is to return False, not raise an >>> exception. >> And the price is that it will not always give the correct answer. > Yes, but that's still the point of the function's existence.
I find it very strange that the point of a function is to sometimes give incorrect answers. I find it an annoying misnomer. -- Antoon. -- https://mail.python.org/mailman/listinfo/python-list