[Python-Dev] PEP 431 Time zone support improvements - Update

Antoine Pitrou solipsis at pitrou.net
Sat Dec 29 11:45:45 CET 2012


On Sat, 29 Dec 2012 16:00:39 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
> > Discussion
> > ==========
> >
> > Should the windows installer include the data package?
> > ------------------------------------------------------
> >
> > It has been suggested that the Windows installer should include the data
> > package. This would mean that an explicit installation no longer would be
> > needed on Windows. On the other hand, that would mean that many using
> > Windows
> > would not be aware that the database quickly becomes outdated and would not
> > keep it updated.
> 
> I'm still a fan of *always* shipping fallback tzdata, regardless of
> platform. The stdlib would then look in three places for timezone data
> when datetime.timezone was first imported:
> 
> 1. the "tzdata-update" database
> 2. the OS provided database
> 3. the fallback database

+1 !

Regards

Antoine.




More information about the Python-Dev mailing list