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

Barry Warsaw barry at python.org
Mon Oct 1 21:02:30 CEST 2012


On Oct 02, 2012, at 12:18 AM, Nick Coghlan 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).

Why wouldn't the stdlib just ship with that emulator by default then? If your OS doesn't have a system database, then you pip install pytz ftw.

Cheers, -Barry



More information about the Python-Dev mailing list