Re: [Python-Dev] Year 0 and year 10,000 in timetuple

2010-06-19 Thread Guido van Rossum
On Sat, Jun 19, 2010 at 3:31 PM, Alexander Belopolsky wrote: > On Jun 19, 2010, at 6:12 PM, Guido van Rossum 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 disallo

Re: [Python-Dev] Year 0 and year 10,000 in timetuple

2010-06-19 Thread Alexander Belopolsky
On Jun 19, 2010, at 6:12 PM, Guido van Rossum 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 o

Re: [Python-Dev] Year 0 and year 10,000 in timetuple

2010-06-19 Thread Guido van Rossum
But what if they are used intentionally as "impossible" or sentinel values? --Guido (on Android) On Jun 19, 2010 2:37 PM, "Alexander Belopolsky" < alexander.belopol...@gmail.com> wrote: > While datetime range is limited to years from 1 through , it is > possible to produce time tuple with yea