[Python-Dev] redux: fractional seconds in strptime
Aahz
aahz at pythoncraft.com
Fri Jan 14 19:11:01 CET 2005
On Fri, Jan 14, 2005, Brett C. wrote:
>
> Right, it's a struct_time object; just force of habit to call it a time
> tuple.
>
> And I technically don't see why a fractional second attribute could not be
> added that is not represented in the tuple. But I personally would like to
> see struct_tm eliminated in Py3k and replaced with datetime usage. My wish
> is to have the 'time' module stripped down to only the bare essentials that
> just don't fit in datetime and push everyone to use datetime for most
> things.
Because of people doing things like
year, month, day, hour, min, sec, junk, junk, junk = time.localtime()
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"19. A language that doesn't affect the way you think about programming,
is not worth knowing." --Alan Perlis
More information about the Python-Dev
mailing list