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

Alexander Belopolsky alexander.belopolsky at gmail.com
Sun Jun 20 00:31:52 CEST 2010


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.



More information about the Python-Dev mailing list