[Python-Dev] the role of assert in the standard library ?
Barry Warsaw
barry at python.org
Thu Apr 28 17:27:08 CEST 2011
On Apr 28, 2011, at 11:04 AM, Fred Drake wrote:
>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 <wink>"
>> conditions.
>
>Maybe we should rename "assert" to "wink", just to be clear on the usage. :-)
Off to python-ideas for you! <wink>
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110428/ba6b5469/attachment.pgp>
More information about the Python-Dev
mailing list