diff options
| author | Tim Peters <tim.peters@gmail.com> | 2006-06-11 20:52:59 (GMT) | 
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2006-06-11 20:52:59 (GMT) | 
| commit | 06524b61d05c604543e6d3603dee11425ccff637 (patch) | |
| tree | ed8bb651216df9557611d78b8280476b71c748f5 /Python/getopt.c | |
| parent | 896c1ea15e9ec67fd1b33998ba8daaf17528ba31 (diff) | |
| download | cpython-06524b61d05c604543e6d3603dee11425ccff637.zip cpython-06524b61d05c604543e6d3603dee11425ccff637.tar.gz cpython-06524b61d05c604543e6d3603dee11425ccff637.tar.bz2 | |
compare_generic_iter():  Fixed the failure of test_wsgiref's testFileWrapper
when running with -O.
test_simple_validation_error still fails under -O.  That appears to be because
wsgiref's validate.py uses `assert` statements all over the place to check
arguments for sanity.  That should all be changed (it's not a logical error
in the software if a user passes bogus arguments, so this isn't a reasonable
use for `assert` -- checking external preconditions should generally raise
ValueError or TypeError instead, as appropriate).
Diffstat (limited to 'Python/getopt.c')
0 files changed, 0 insertions, 0 deletions
