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/021497.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 piecesTim Peters tim.one@comcast.net
Wed, 20 Mar 2002 14:30:00 -0500
[martin@v.loewis.de]
> One observation in the bug report is that at least KeyboardInterrupt
> needs to get a chance to get through, making bare except clauses evil
> under almost any circumstance.

Good point.  I'll change doctest, in the specific way Guido suggested.

[Guido]
> That would explain why sometimes I have to hit ^C twice to kill the
> test suite.

Partly, but a minor effect:  there aren't enough doctest'ed pieces in the
test suite to account for much of that.  It's definitely the cause if you
just run test_generators.py in a loop <wink>.  Recall one of Skip's original
categories:

    * Not worth fixing, because the except: occurs in situations that
      would not affect application code (such as in module tests).
                                         ^^^^^^^^^^^^^^^^^^^^^^^




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