[Python-Dev] datetime module enhancements

Brett Cannon brett at python.org
Sat Mar 10 03:52:44 CET 2007


On 3/9/07, André Malo <nd at perlig.de> wrote:
> * Brett Cannon wrote:
>
> > On 3/9/07, Christian Heimes <lists at cheimes.de> wrote:
> > >  * What do you think about including PyTz in the Python core? PyTz is
> > > really, REALLY useful when one has to deal with time zones.
> > > http://pytz.sourceforge.net/
> >
> > What is wrong with datetime's tzinfo objects?
>
> There aren't any. pytz fills that gap.

I remember some discussion about why tzinfo objects were not initially
included in the stdlib.  Don't remember why they were not (may just
have been no one wanted to bother to write them).

>
> But I think, pytz has no place in the stdlib anyway, because it has
> reasonably different release cycles (every time the timezone tables
> change).

That may have been why they were left out.

-Brett


More information about the Python-Dev mailing list