On Tue, Dec 22, 2020 at 1:14 AM Chris Angelico <[email protected]> wrote:

> > I know why, but I'm not so sure -- no one was using a built in True or
> False as an integer, because they didn't exist.
>
> No, but AIUI people were creating their own globals to do that job.
>

Indeed.  The discussion around this was quite specifically that many people
defined:

True = 1
False = 0

At the top of their code, and used that.  This was the main reason they
were built-ins rather than keywords, so as not to break that large body of
existing code.


-- 
The dead increasingly dominate and strangle both the living and the
not-yet born.  Vampiric capital and undead corporate persons abuse
the lives and control the thoughts of homo faber. Ideas, once born,
become abortifacients against new conceptions.
_______________________________________________
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/AM363PUJ7Y6YD5PGNAURW5B2DJGRHARS/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to