[Python-Dev] proposal: add basic time type to the standard library

Fred L. Drake, Jr. fdrake@acm.org
Fri, 8 Feb 2002 16:31:09 -0500


Guido van Rossum writes:
 > Is comparison the same what Tim mentioned as range searches?  I guess
 > a representation like current Zope timestamps or what time.time()
 > returns is fine for that -- it is monononous even if not necessarily
 > continuous.  I guess a broken-out time tuple is much harder to compare.

Yes; as long as ordering is easy to check, we're fine with a long int
or some such thing.  The range search is indeed the specific
application Jim has in mind.


  -Fred

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