[Python-Dev] Draft PEP for time zone support. (original) (raw)
Barry Warsaw barry at python.org
Wed Dec 12 03:58:49 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 Dec 11, 2012, at 04:23 PM, Lennart Regebro wrote:
A new
isdst
parameter is added to several of thetzinfo
methods to handle time ambiguity during DST changeovers.
None
will raise anAmbiguousTimeError
exception if the time specified was during a DST change over. It will also raise aNonExistentTimeError
if a time is specified during the "missing time" in a change to DST.
I think None should be the default.
-Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20121211/e0d23c94/attachment.pgp>
- 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 ]