original) (raw)
(On Thu, Dec 20, 2012 at 5:43 PM, Barry Warsaw <barry@python.org> wrote:
As of today, in Pytz,� UnknownTimeZoneError in fact subclasses KeyError. Any opinions against that?
There is no TimeZoneError today, and it would only be used for this UnknownTimeZoneError, so I'm not sure it has much value.
That would be \`class UnknownTimeZoneError(ValueError, TimeZoneError)\`.
As of today, in Pytz,� UnknownTimeZoneError in fact subclasses KeyError. Any opinions against that?
There is no TimeZoneError today, and it would only be used for this UnknownTimeZoneError, so I'm not sure it has much value.
//Lennart