Yukihiro Matsumoto schrieb: > In message "POLS - exception comparisons" > on 04/08/24, "Ara.T.Howard" <Ara.T.Howard / noaa.gov> writes: > > |doesn't it make sense that exceptions > |with the same class, message, and backtrace should be considered the same? > > Interesting idea. I will add this to 1.9 and see how it work well. I can't express exactly why, but to me an exception should (at least logically) contain the context in which it occurred. By context I not only mean what went wrong (class, message) and where has it occurred (backtrace), but also when (time, bindings, etc). Something like a continuation. From that point of view two exceptions never could be the same. But since exceptions currently don't contain something like a continuation, I'd be fine with the proposed change. Regards, Pit