[Python-ideas] PEP 531: Existence checking operators

Mark Dickinson dickinsm at gmail.com
Fri Oct 28 14:08:31 EDT 2016


On Fri, Oct 28, 2016 at 9:30 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> [...] the current practicises of:
>
> * obj is not None (many different use cases)
> * obj is not Ellipsis (in multi-dimensional slicing)

Can you elaborate on this one? I don't think I've ever seen an `is not
Ellipsis` check in real code.

--
Mark


More information about the Python-ideas mailing list