[Python-Dev] Breaking bug #411881 into manageable pieces (original) (raw)
Tim Peters tim.one@comcast.net
Wed, 20 Mar 2002 14:30:00 -0500
- Previous message: [Python-Dev] Breaking bug #411881 into manageable pieces
- Next message: [Python-Dev] PEP 263 considered faulty (for some Japanese)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 . 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).
^^^^^^^^^^^^^^^^^^^^^^^
- Previous message: [Python-Dev] Breaking bug #411881 into manageable pieces
- Next message: [Python-Dev] PEP 263 considered faulty (for some Japanese)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]