[Python-Dev] Draft PEP for time zone support. (original) (raw)
Lennart Regebro regebro at gmail.com
Fri Dec 28 19:02:36 CET 2012
- Previous message: [Python-Dev] Draft PEP for time zone support.
- Next message: [Python-Dev] Draft PEP for time zone support.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
//Lennart -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20121228/b9157c82/attachment.html>
- Previous message: [Python-Dev] Draft PEP for time zone support.
- Next message: [Python-Dev] Draft PEP for time zone support.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]