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/2002-March/021480.html below:

[Python-Dev] Breaking bug #411881 into manageable pieces

[Python-Dev] Breaking bug #411881 into manageable pieces [Python-Dev] Breaking bug #411881 into manageable piecesMartin v. Loewis martin@v.loewis.de
20 Mar 2002 07:05:05 +0100
Tim Peters <tim.one@comcast.net> writes:

> doctest.py: I Trust Tim (tm)
> 
>     Me too.  The first bare except is exec'ing arbitrary user-supplied
>     code, and needs to catch everything.  The second needs to ignore
>     any exception that may be raised by a user-define __str__, and
>     that's any exception whatsoever, so ditto.

One observation in the bug report is that atleast KeyboardInterrupt
needs to get a chance to get through, making bare except clauses evil
under almost any circumstance. 

Regards,
Martin



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