[Python-ideas] PEP-3151 pattern-matching
Antoine Pitrou
solipsis at pitrou.net
Thu May 12 23:17:29 CEST 2011
On Thu, 12 May 2011 22:15:07 +0200
Georg Brandl <g.brandl at gmx.net> wrote:
>
> But the str() looks correct to me as well (for an exception that doesn't
> derive from EnvironmentError).
It's technically correct, sure. The point is that "technically correct"
translates to "humanly bogus" here, because of the broken I/O
exception hierarchy.
Regards
Antoine.
More information about the Python-ideas
mailing list