[Python-Dev] PEP 431 Time zone support improvements - Update

Steven D'Aprano steve at pearwood.info
Mon Dec 31 03:06:21 CET 2012

On 30/12/12 07:16, Lennart Regebro wrote:

>>>      If no database is found an ``UnknownTimeZoneError`` or subclass
>> thereof
>>> will
>>>      be raised with a message explaining that no zoneinfo database can be
>>> found,
>>>      but that you can install one with the ``tzdata-update`` package.
>> Why should we care about that situation if we *do* provide a database?
>> Distributions can decide to exclude some files from their packages, but
>> it's their problem, not ours.
> Yes, but a comprehensible error message is useful even if somebody messed
> up the system/configuration.



More information about the Python-Dev mailing list