[Python-ideas] PEP-3151 pattern-matching

Antoine Pitrou solipsis at pitrou.net
Thu May 12 21:22:11 CEST 2011


Le jeudi 12 mai 2011 à 21:06 +0200, M.-A. Lemburg a écrit :
> Note that existing code will not look for an attribute that
> doesn't exist :-)

True. My point is that not having "errno" makes it even more obscure how
to check for different kinds of select errors. Also, given that other
"environmental" errors will have an "errno" giving the POSIX error code,
it's easy to get surprised.

Regards

Antoine.





More information about the Python-ideas mailing list