On 27 July 2015 at 08:34, Lennart Regebro <rege...@gmail.com> wrote: > On Mon, Jul 27, 2015 at 9:09 AM, Tim Peters <tim.pet...@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 operation. 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. Paul _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com