On Sat, 29 Dec 2012 19:56:43 +0100 Lennart Regebro <rege...@gmail.com> wrote: > On Sat, Dec 29, 2012 at 7:54 PM, Lennart Regebro <rege...@gmail.com> wrote: > > > On Sat, Dec 29, 2012 at 7:38 PM, Tres Seaver <tsea...@palladion.com>wrote: > > > >> - -Lots for enabling fallback by default except on platforms known not to > >> have their own database > > > > > > Well, it's the same thing really. If the platform does have a database, > > the fallback will not be used. > > Of course, there is the case of the database existing on the platform > > normally, but somebody for some reason deleting the files, but I don't > > think that case deserves an error message. > > > > I also expect that most platform distributions, such as for Ubuntu, will > > not include the fallback database, as it will never be used. I'll add > > something about that and that we need to raise an error of some sort (any > > opinions on what?) if no database is found at all. > > > > Actually I already added that, but opinions on what error to raise are > still welcome. Currently it says: > > 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. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com