Raymond Hettinger <[email protected]> added the comment:
> can we finally get rid of this language wart
Yes, please. This is a pretty bad pitfall.
I've seen this happen to people who've been conditioned by other languages to
think of assert() as a macro or function:
assert(sometest, somemessage)
----------
nosy: +rhettinger
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46167>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com