[Python-Dev] the role of assert in the standard library ? (original) (raw)

Fred Drake fdrake at acm.org
Thu Apr 28 17:04:25 CEST 2011


On Thu, Apr 28, 2011 at 10:37 AM, Barry Warsaw <barry at python.org> wrote:

I would agree.  Use asserts for "this can't possibly happen " conditions.

Maybe we should rename "assert" to "wink", just to be clear on the usage. :-)

-Fred

-- Fred L. Drake, Jr.    "Give me the luxuries of life and I will willingly do without the necessities."    --Frank Lloyd Wright



More information about the Python-Dev mailing list