[Python-Dev] Stdlib and timezones, again
Matthias Klose
doko at ubuntu.com
Mon Oct 1 01:00:10 CEST 2012
On 01.10.2012 00:51, Lennart Regebro wrote:
> 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.
but not overriding with an outdated database.
the new venv stuff makes the distinction to just use the core python
environment, or use the core and site/dist-packages. I don't want to see an
exception to not use something which is not in the core.
Matthias
More information about the Python-Dev
mailing list