[Python-Dev] Stdlib and timezones, again

Lennart Regebro regebro at gmail.com
Mon Oct 1 21:59:03 CEST 2012
On Mon, Oct 1, 2012 at 9:02 PM, R. David Murray <rdmurray at bitdance.com> wrote:
> On Tue, 02 Oct 2012 00:18:10 +0530, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> Reminder to everyone: the current state of the art for getting up to
>> date tz info for Python is "pip install pytz".
>>
>> If any proposal is more complicated than that, there's absolutely no
>> point in changing anything. The version I liked best so far is for
>> Python to just install a copy of pytz automatically (shipping it in
>> the installer rather than downloading it). OS packagers would then
>> take it out (replacing it with a dependency on a pytz emulator that
>> used the system database instead).
>
> Emulator?  That makes no sense, I'm afraid.

It wouldn't emulate anything, though. Ubuntu already does this, they
ship a version of pytz that includes no database, and just point it to
/usr/share/zoneinfo instead.

//Lennart


More information about the Python-Dev mailing list