Great work! There are a few typos, I'll try to get to a PR on those.

I wonder if it's worth noting that None is a singleton, while 42 is just a
value. I.e. there might be several distinct objects that happen to be the
int 42, but not so with None.

Of course, in CPython, small integers are cached as the same object, but
larger integers are not necessarily cached. This has varied in details
between Python implementations and even versions, it's not a semantic
promise like None carries.

Maybe that's too far in the weeds for an intro though.

On Tue, Aug 14, 2018, 6:29 AM Jonathan Fine <[email protected]> wrote:

> Hi
>
> I'm pleased to announce that I've completed the first draft of my
> page. It's viewable on gitub.
>
> https://github.com/jfine2358/py-jfine2358/blob/master/docs/none-is-special.md
>
> To quote from that page:
>
> This page arose from a thread on the python-ideas list. I thank Steve
> Dower, Paul Moore, Steve D'Aprano, Chris Barker, David Mertz, Jörn
> Heissler, Anthony Risinger, Michael Selik, Chris Angelico for their
> contributions and encouragement.
>
> Apologies for anyone I've missed. Comments either on python-ideas, or
> perhaps better, by raising an issue on github.
>
> --
> Jonathan
> _______________________________________________
> Python-ideas mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to