[Python-Dev] Year 0 and year 10,000 in timetuple (original) (raw)

Guido van Rossum guido at python.org
Sun Jun 20 04:21:35 CEST 2010


On Sat, Jun 19, 2010 at 3:31 PM, Alexander Belopolsky <alexander.belopolsky at gmail.com> wrote:

On Jun 19, 2010, at 6:12 PM, Guido van Rossum <guido at python.org> wrote:

But what if they are used intentionally as "impossible" or sentinel values?

That would be another reason not to produce them accidently.  Note that I am proposing disallowing production of out of range years from valid datetime objects, not consumption of them if that is allowed anywhere.

OK.

-- --Guido van Rossum (python.org/~guido)



More information about the Python-Dev mailing list