On Mon, Aug 23, 2021 at 11:56 PM Thomas Grainger <tagr...@gmail.com> wrote: > > here's another fun one "A False midnight": https://lwn.net/Articles/590299/ > https://bugs.python.org/issue13936#msg212771 >
That was a consequence of a time value being an integer, and thus zero (midnight) was false. It was changed, but - as is fitting for a well-used language - backward compatibility was important. Modern versions of Python don't have that problem. ChrisA _______________________________________________ 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/RBT6NIRCQF5JNUY457UY2E7IVHU6OBMU/ Code of Conduct: http://python.org/psf/codeofconduct/