[Python-Dev] Stdlib and timezones, again (original) (raw)

Lennart Regebro regebro at gmail.com
Mon Oct 1 00:51:07 CEST 2012


On Mon, Oct 1, 2012 at 12:17 AM, Matthias Klose <doko at ubuntu.com> 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.

Sure, but in the cases where it is not, overriding should be possible. The OS tz data is last because it is the default.

//Lennart -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20121001/95f145b8/attachment.html>



More information about the Python-Dev mailing list