From: Fred L. D. Jr. <fd...@ac...> - 2001-09-05 13:04:43
|
Jeremy Hylton writes: > And I'd still like to see a version of these methods that are in > positive form. assert() is much clearer than failUnless(). Since > assert is not allowed (it's a keyword), I'd prefer something like > verify(). And I'd rather not change the API yet again. ;-) Having three versions of each method would not help; there seems to be enough confusion between the assert*() and fail() flavors we have today, and we can't retract either of those from the standard library. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation |