I have a curiosity. Python, as many languages, has assert as a keyword. Can't it be implemented as a function? Is there an advantage to have it as a keyword? -- https://mail.python.org/mailman/listinfo/python-list
- Why assert is not a function? Marco Sulla
- Re: Why assert is not a function? Chris Angelico
- Re: Why assert is not a function? Stestagg
- Re: Why assert is not a function? Mirko via Python-list
- Re: Why assert is not a function? Chris Angelico
- Re: Why assert is not a functi... Hexamorph
- Re: Why assert is not a fu... Chris Angelico
- Re: Why assert is not a functi... Greg Ewing
- Re: Why assert is not a fu... Chris Angelico
- Re: Why assert is not a functi... Grant Edwards
- Re: Why assert is not a fu... Chris Angelico