On 22 February 2014 00:50, Antoine Pitrou <solip...@pitrou.net> wrote: > On Sat, 22 Feb 2014 00:28:01 +1000 > Nick Coghlan <ncogh...@gmail.com> wrote: >> >> Neither of these objections addresses the problems with the status quo, >> though: >> >> - the status quo encourages overbroad exception handling (as >> illustrated by examples in the PEP) > > I don't get this. Using the proper exception class in a "try...except" > suite is no more bothersome than using the proper exception class in > this newly-proposed construct.
Not overbroad in the sense of catching too many different kinds of exception, overbroad in the sense of covering too much code in the try block. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com