Hi Martin, On Wed, Mar 14, 2007 at 10:54:41PM +0100, "Martin v. L?wis" wrote: > So this is a bug fix, even though the old test > case explicitly tested for the presence of the bug
FWIW, when developing PyPy we found quite a number of tests in CPython that were checking not just obscure implementation details, but things known to be of the kind "don't do that you fool" or "let's check for exactly one of the many things that could reasonably occur here". CPython's test suite should not be regarded as a behavior definition; only the documentation should. I consider this case similarly debatable, and to this debate I will contribute a +1 on keeping Martin's patch. A bientot, Armin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com