[Python-ideas] Consistent programming error handling idiom

Ethan Furman ethan at stoneleaf.us
Fri Apr 8 17:33:18 EDT 2016


On 04/08/2016 02:25 PM, Rian Hunter wrote:

> I want a consistent opt-in idiom with community consensus. I want a
> clear way to express that an exception is an error and not an internal
> bug. It doesn't have to catch 100% of cases, the idiom just needs to
> approach consistency across all Python libraries that I may import.

> But I can see the pile on has begun and my point is lost. Maybe this
> will get added in ten or twenty years.

Then come up with one, test it out, and come back with "Here's a cool 
new idiom, and this is why it's better" post.

--
~Ethan~



More information about the Python-ideas mailing list