[Python-Dev] Status on PEP-431 Timezones
p.f.moore at gmail.com
Mon Jul 27 10:47:28 CEST 2015
On 27 July 2015 at 08:34, Lennart Regebro <regebro at gmail.com> wrote:
> On Mon, Jul 27, 2015 at 9:09 AM, Tim Peters <tim.peters at gmail.com> wrote:
>> But for a dozen years it's sufficed to do what Paul did.
> No, it never did "suffice". It's just that people have been doing
> various kinds of workarounds to compensate for these design flaws. I
> guess they need to continue to do that for the time being.
I'm confused by your position. If it's 7am on the clock behind me,
right now, then how (under the model proposed by the PEP) do I find
the datetime value where it will next be 7am on the clock?
I understand your point that "it's a calendar operation", but that
doesn't help me. I still don't know how you want me to *do* the
Whatever the outcome of this discussion, any PEP needs to explain how
to implement this operation, because at the moment, it's done with
+timedelta(days=1) and that won't be the case under the PEP. I'm not
trying to shoot down your proposal here, just trying to understand it.
More information about the Python-Dev