[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
- Previous message: [Python-Dev] the role of assert in the standard library ?
- Next message: [Python-Dev] the role of assert in the standard library ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] the role of assert in the standard library ?
- Next message: [Python-Dev] the role of assert in the standard library ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]