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.
">

(original) (raw)

On Thu, Dec 20, 2012 at 5:43 PM, Barry Warsaw <barry@python.org> wrote:

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