A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-March/087802.html below:

[Python-Dev] suggestion for try/except program flow

[Python-Dev] suggestion for try/except program flow [Python-Dev] suggestion for try/except program flowHrvoje Niksic hrvoje.niksic at avl.com
Fri Mar 27 16:19:10 CET 2009
Mark Donald wrote:
> Thanks for the idea, but I believe it has a different outcome. You'd
> have to copy the generic handler into an except clause to get exactly
> the behaviour I'm looking for, which is worse than nesting the try
> blocks

Then simply change Exception to BaseException.  Since all exceptions 
should derive from BaseException, there should be no difference between 
that and a bare "except:" clause.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4