On Tue, Jun 16, 2020 at 06:54:49PM +0800, Alexander Hill wrote: > Hi all, > > I’d like to propose support for infinite dates, datetimes and timedeltas.
Some languages (R comes to mind, if I recall correctly) also support a "Not A Date" special value. Boost includes a not-a-date-time value: https://www.boost.org/doc/libs/1_56_0/doc/html/date_time/doxy.html#header.boost.date_time.special_defs_hpp If you've ever seen a database use 9-9-99 to mean an invalid or non-existent date, you'll probably appreciate having a Not-A-Datetime value :-) -- Steven _______________________________________________ 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/74RACN2BW7CMG2Q4TXIEHLHQXI3KTO3I/ Code of Conduct: http://python.org/psf/codeofconduct/