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/2006-December/070372.html below:

[Python-Dev] PEP 8: mention bare 'except:'

[Python-Dev] PEP 8: mention bare 'except:' [Python-Dev] PEP 8: mention bare 'except:'Brett Cannon brett at python.org
Fri Dec 22 21:15:23 CET 2006
On 12/22/06, A.M. Kuchling <amk at amk.ca> wrote:
> http://www.python.org/sf/411881 is a bug about removing use
> of 'except:' in stdlib code.  In many cases the intent is to catch
> one particular exception such as ImportError or AttributeError,
> but catching all exceptions can disguise othter problems.
>
> Should PEP 8 mention this issue?

Yes.

-Brett
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