[Python-ideas] all, any - why no none ?

Yuval Greenfield ubershmekel at gmail.com
Tue Apr 10 17:50:59 CEST 2012


On Tue, Apr 10, 2012 at 6:22 PM, Steven Samuel Cole <
steven.samuel.cole at gmail.com> wrote:

> ....
> what do you think ?
>
>
I don't like how a missed capitalization can be so deadly.

    if x is none:
        return

    assert x is not none

I can see that happening a lot and people being terribly confused and
annoyed.

Strongly against this idea.

Yuval
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120410/08e9abf5/attachment.html>


More information about the Python-ideas mailing list