Re: [Python-Dev] Stdlib and timezones, again

2012年9月30日 16:09:31 -0700

On Mon, Oct 1, 2012 at 8:17 AM, Matthias Klose <[email protected]> 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.
ChrisA
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to