Ewald Ertl wrote:

>> Just an attempt from my side:
> The year 1500 didn't have a 29th of February, the 28th work for me but
> 29th also fails here.
>>>> datetime.date( 1500, 2, 28 )
> datetime.date(1500, 2, 28)
>>>> datetime.date( 1500, 2, 29 )
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ValueError: day is out of range for month

Yes, it's an expected "failure". I should have said that explicitly.

Peter 


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to