https://peps.python.org/pep-0285/
From: Python-list <python-list-bounces+gweatherby=uchc....@python.org> on behalf of rbowman <bow...@montana.com> Date: Tuesday, January 24, 2023 at 3:01 PM To: python-list@python.org <python-list@python.org> Subject: Re: bool and int bool is a subtype of integer. I never dug that deep into Python's guts but I assume it goes back to boolean being an afterthought in C. Some people fancy it up with #defines but I always use int. 0 is false, anything else is true. C# is pickier, which I guess is a good thing. -- https://urldefense.com/v3/__https://mail.python.org/mailman/listinfo/python-list__;!!Cn_UX_p3!hdxuMNsprOXvH5ouxGfbGLLq6wuXs-_gOESRVYUxDsHYCmlrpv9ru-WYMziYU4FRdum02bS6DfRnNDnCNQ$<https://urldefense.com/v3/__https:/mail.python.org/mailman/listinfo/python-list__;!!Cn_UX_p3!hdxuMNsprOXvH5ouxGfbGLLq6wuXs-_gOESRVYUxDsHYCmlrpv9ru-WYMziYU4FRdum02bS6DfRnNDnCNQ$> -- https://mail.python.org/mailman/listinfo/python-list