[Python-ideas] bool(datetime.time(0, 0)) vs missing data

Devin Jeanpierre jeanpierreda at gmail.com
Wed May 9 20:52:12 CEST 2012


On Wed, May 9, 2012 at 2:36 PM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> No, they don't.  There is really very little that you can do with
> detached time objects.  While they have the tzinfo, with any timezone
> that observes DST it is useless.  That's the main reason I am so
> skeptical about any ideas about improving the time type.  Users should
> just learn to avoid using it and use full datetime instead.

Blagh, that's even worse. But thanks for the correction. I admit I was
just assuming they were like datetimes.

-- Devin



More information about the Python-ideas mailing list