[XML-SIG] Re: [XML-checkins]CVS: xml/xml/utils iso8601.py,1.6,1.7

Fred L. Drake, Jr. fdrake@acm.org
Mon, 23 Sep 2002 15:05:42 -0400

Alexandre wrote last April:
 > Now, this may be dumb, since I'm not very familiar with the intricacies
 > of real date and time manipulations, but is 60 an allowed value for
 > seconds? In other words, should not this read 
 > if not 0 <= seconds < 60: 

No, allowing 60 seconds is for those people who believe in leap
seconds.  I think there are even cases where 61 should be allowed, but
hesitate to jump into that fray long enough to figure out the "right
thing to do."


Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation