[Python-checkins] peps: PEP 431: Update from Lennart Regebro.

berker.peksag python-checkins at python.org
Fri Jul 24 17:23:39 CEST 2015


https://hg.python.org/peps/rev/52a33f783dcb
changeset:   5909:52a33f783dcb
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Fri Jul 24 18:24:24 2015 +0300
summary:
  PEP 431: Update from Lennart Regebro.

files:
  pep-0431.txt |  15 ++++++++++++++-
  1 files changed, 14 insertions(+), 1 deletions(-)


diff --git a/pep-0431.txt b/pep-0431.txt
--- a/pep-0431.txt
+++ b/pep-0431.txt
@@ -4,7 +4,7 @@
 Last-Modified: $Date$
 Author: Lennart Regebro <regebro at gmail.com>
 BDFL-Delegate: Barry Warsaw <barry at python.org>
-Status: Draft
+Status: Postponed
 Type: Standards Track
 Content-Type: text/x-rst
 Created: 11-Dec-2012
@@ -19,6 +19,19 @@
 with ambiguous time specifications during DST changes.
 
 
+Postponement
+============
+
+The implementation has turned out to be exceedingly complex, due to having to
+convert back and forth between the local time and UTC during arithmetic
+and adjusting the DST for each arithmetic step, with ambiguous times being
+particularly hard to get right.
+
+This is likely to become much easier if the UTC timestamp is stored internally
+and used for all arithmetic, and an investigation into changing the
+``datetime()`` object to use UTC internally should be done.
+
+
 Proposal
 ========
 

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list