diff --git a/pep-0431.txt b/pep-0431.txt index 87634a5b3..92f6c1362 100644 --- a/pep-0431.txt +++ b/pep-0431.txt @@ -4,7 +4,7 @@ Version: $Revision$ Last-Modified: $Date$ Author: Lennart Regebro BDFL-Delegate: Barry Warsaw -Status: Deferred +Status: Withdrawn Type: Standards Track Content-Type: text/x-rst Created: 11-Dec-2012 @@ -19,17 +19,17 @@ Python standard library, and also improvements to the time zone API to deal with ambiguous time specifications during DST changes. -Postponement -============ +Withdrawal +========== -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. +After lengthy discussion it has turned out that the things I thought was +problem in datetime's implementation are intentional. Those include +completely ignoring DST transistions when making date time arithmetic. +That makes the is_dst flags part of this PEP pointless, as they would +have no useful function. ``datetime`` by design does not separate between +ambiguous datetimes and will never do so. -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. +I therefore withdraw this PEP. Proposal