On 01.10.2012 01:07, Chris Angelico wrote: > On Mon, Oct 1, 2012 at 8:17 AM, Matthias Klose <d...@ubuntu.com> wrote: >> On 30.09.2012 20:18, Gregory P. Smith wrote: >>> priority: >>> 1) api call supplying tz data to the process. >>> 2) pytzdata module if it exists >>> 3) tz data from the underlying operating system >>> 4) error. >> >> I disagree on this order, at least for Linux systems. the tzdata database is >> well managed on major Linux distributions and should be used for this reason. > > There's no guarantee that an individual sysadmin will have OS updates > up-to-date. If, on Linux, the pytzdata module is not installed unless > explicitly called for, that would define pytzdata as high specificity, > ergo it should override the lower specificity of the OS-provided data. > > The normal case on Linux will happily use the well-managed and > frequently-updated tzdata.
I don't care as long as pytzdata is a third party module. I do care if it belongs to the standard library. I don't want to see a python and perl/java/foo application seeing different local times. Matthias _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com