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

R. David Murray rdmurray at bitdance.com
Mon Oct 1 22:39:38 CEST 2012


On Mon, 01 Oct 2012 21:59:03 +0200, Lennart Regebro <regebro at gmail.com> wrote:

On Mon, Oct 1, 2012 at 9:02 PM, R. David Murray <rdmurray at bitdance.com> wrote: > On Tue, 02 Oct 2012 00🔞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.

That's what I meant. It's not an emulator.

--David



More information about the Python-Dev mailing list