Quoting the subject line:
"We should have an explicit concept of emptiness for collections"
We do. It's spelled:
len(collection) == 0
You can't get more explicit than that.
--
Steve
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/CKOQYWYK46Z3IQEOF7CYHFI5QGKXYMUG/
Code of Conduct: http://python.org/psf/codeofconduct/