[Python-ideas] PEP-3151 pattern-matching
Nick Coghlan
ncoghlan at gmail.com
Fri Apr 8 16:13:41 CEST 2011
On Sat, Apr 9, 2011 at 12:04 AM, Mike Graham <mikegraham at gmail.com> wrote:
> Neither of these seem justified for a rare case (this sort of patter
> is fairly rare, most notably this one example) when there's nothing
> that awful about the current solution.
Actually, there is an awful lot of code in the wild that gives
incorrect and wildly misleading error messages *because* correctly
checking the errno attribute is so rare. PEP 3151 would improve the
quality of information provided by a lot of tracebacks and error
messages without many of those developers needing to even set finger
to keyboard.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list