summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-06-11 20:52:59 +0000
committerTim Peters <tim.peters@gmail.com>2006-06-11 20:52:59 +0000
commit06524b61d05c604543e6d3603dee11425ccff637 (patch)
treeed8bb651216df9557611d78b8280476b71c748f5 /Python/codecs.c
parent896c1ea15e9ec67fd1b33998ba8daaf17528ba31 (diff)
downloadcpython-git-06524b61d05c604543e6d3603dee11425ccff637.tar.gz
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/codecs.c')
0 files changed, 0 insertions, 0 deletions