On Wed, Sep 1, 2021, 11:55 AM Christopher Barker <python...@gmail.com>
wrote:

> Can you redefine the name, “None” in ancient Python?
>

I didn't show it in my earlier post, but in Python 1.0.1, you an indeed
rebind the name None (much as you could True/False until 2.4 or
something... I probably have the version wrong in my guess).

Nonetheless, the None *object* is a singleton, and it's own type. I think
the concept of NoneType was relatively late, like in the 2.x series.



> -CHB
>
> --
> Christopher Barker, PhD (Chris)
>
> Python Language Consulting
>   - Teaching
>   - Scientific Software Development
>   - Desktop GUI and Web Development
>   - wxPython, numpy, scipy, Cython
> _______________________________________________
> Python-ideas mailing list -- python-ideas@python.org
> To unsubscribe send an email to python-ideas-le...@python.org
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-ideas@python.org/message/B2WPDPYSBSXUK67VNXOBV3BK7K5O4UPF/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/GK72DFUYHLIAKXSUDUD7UG7U2RCN4T23/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to