On Mon, Sep 7, 2015 at 9:48 PM, Stuart Bishop <[email protected]> wrote:
> On 4 September 2015 at 23:01, Chris Barker <[email protected]> wrote: > > > I would like a flag on datetime, but it seems it might be better to put > that > > flag on a tzinfo object. But the implementation is the something to argue > > about only if there is any chance of doing it at all. > > I would still lean towards a separate datetimetz class, but that is > just semantics. As this conversation has progressed, it seems the way forward, if anyone wants to go there, is a new datetime class that conforms to Carls "Model A" -- is that what you mean? For my part, it would be cool if such a class could use the same tzinfo objects as datetime.datetime, and maybe the same timedelta. But as Carl suggested -- that would be a job for a new library anyway. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected]
_______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
