<p dir="ltr"><br>
On 24 Sep 2013 20:06, "MRAB" <<a href="mailto:python@mrabarnett.plus.com">python@mrabarnett.plus.com</a>> wrote:<br>
><br>
> On 24/09/2013 09:06, Nick Coghlan wrote:<br>
>><br>
>> On 24 September 2013 17:34, Antoine Pitrou <<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>> wrote:<br>
>>><br>
>>> On Tue, 24 Sep 2013 17:25:10 +1000<br>
>>> Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>
>>>><br>
>>>><br>
>>>> You are setting the bar unreasonably high for an error message that<br>
>>>> has to convey a complex concept in as few words as possible. There is<br>
>>>> *NO* wording that can concisely express the concepts involved without<br>
>>>> resorting to jargon, because the concepts behind it are *complex and<br>
>>>> unintuitive*. The current wording is flat out wrong, because the<br>
>>>> exception isn't being ignored, it's being printed to stderr. If it was<br>
>>>> genuinely being ignored, people wouldn't complain about it.<br>
>>>><br>
>>>> Jargon that can be easily looked up with a search engine is greatly<br>
>>>> superior to a message that is simply wrong, as the former provides a<br>
>>>> gateway to understanding, just like coming across a word you don't<br>
>>>> understand when reading a novel.<br>
>>><br>
>>><br>
>>> "Unraisable" is not a word I don't understand, it's a word that I<br>
>>> understand and which conveys the wrong meaning.<br>
>><br>
>><br>
>> How is it wrong? At the point where the interpreter says "This<br>
>> exception is now unraisable", what, precisely, is it saying that is<br>
>> wrong?<br>
>><br>
>> It isn't saying "this has never been raised". It is saying, "where it<br>
>> is currently being processed, this exception cannot be raised".<br>
>><br>
>>> If you want something that people won't understand, you can use<br>
>>> something like "asynchronous exception".<br>
>><br>
>><br>
>> Asynchronous exception is *even more* wrong, because that's the<br>
>> terminology used for an exception injected into the current thread by<br>
>> a different thread.<br>
>><br>
>>>> Preferring the status quo because<br>
>>>> you're holding out a forlorn hope for a concise wording that explains:<br>
>>><br>
>>><br>
>>> I've proposed other options.<br>
>><br>
>><br>
>> "Automatically caught" says nothing about why the exception is being<br>
>> printed to stderr instead of propagating normally. Exceptions are<br>
>> automatically caught by any matching except clause all the time, but<br>
>> most of those don't result in errors printed to stderr.<br>
>><br>
> Why not just say something like "Cannot propagate exception..."; it's<br>
> simpler than "Unpropagatable exception...".</p>
<p dir="ltr">That would definitely be an improvement on the status quo and avoids Antoine's concern about an adjective being interpreted as an inherent property of the exception rather than the circumstances where the exception was encountered.</p>

<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
> _______________________________________________<br>
> Python-Dev mailing list<br>
> <a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a><br>
> Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com">https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com</a><br>
</p>