[Python-Dev] Draft PEP for time zone support.
regebro at gmail.com
Fri Dec 28 19:02:36 CET 2012
On Thu, Dec 20, 2012 at 5:43 PM, Barry Warsaw <barry at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev