Hi guys, I'm disappointed that you're against this change... But I understand that you have a different perspective. Here's my last-ditch effort to convince you.
If I understand correctly, you both agree that using "raise from" in this context is better than using plain raise, just that the benefits are not worth the price of a bulk update to Django. In other words, "raise from" is the inevitable future, it's just that we're not in a rush to get there. Keep in mind that the thing I care about is not just usage of "raise from" in Django, but in any Python package which is relevant. Most Python developers don't know about this difference between "During the handling of" and "The above exception was the direct cause", because "raise from" isn't that prevalent yet. This is a chicken-and-egg problem, because as long as project maintainers don't use "raise from", the exception chaining wouldn't show the correct text, and people would get used to the fact that they can't rely on this text to be correct. Like any chicken-and-egg problem of changing people's habits, the best we could hope is to move it forward at a glacial pace-- A situation somewhat similar to the move to Python 3. If Django were to adopt this practice, it would help in getting other projects to do that too, and for people to pay attention to that line of text. Thanks, Ram. On Thu, Feb 6, 2020 at 4:48 PM Mariusz Felisiak <[email protected]> wrote: > I agree with Carlton, I don't see much (if any) value in the bulk update. > > Best, > Mariusz > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Django developers (Contributions to Django itself)" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-developers/ibEOt3A9c2M/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/ab6abbb0-f651-4271-b84c-a3bacaba9482%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/ab6abbb0-f651-4271-b84c-a3bacaba9482%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CANXboVaNK7YrWohu8jDcJCG3h43ngHqUqYOCxShV8W_O8rj8pw%40mail.gmail.com.
