[Python-ideas] except expression

Ethan Furman ethan at stoneleaf.us
Wed Feb 19 20:22:59 CET 2014


On 02/18/2014 05:34 PM, Alexander Belopolsky wrote:
> On Tue, Feb 18, 2014 at 7:10 PM, Steven D'Aprano wrote:
>> Alexander wrote:
>>>
>>> I disagree.  It is best to leave explicit selection of exceptions to catch
>>> outside of the expressions.  This is job for things like decimal or numpy
>>> fp contexts.
>>
>> I don't understand what relevance fp contexts have here.
>>

[snip nice examples of fp context]

Which is great for numpy et al, but useless for the rest of the Python world.

--
~Ethan~


More information about the Python-ideas mailing list