<div dir="ltr">Folks,<div><br></div><div>It seems to me that it's clear that timeline arithmetic will not get implemented in concert with PEP 495.</div><div><br></div><div>So -- is the door open to a PEP that DOES implement timeline arithmetic with tz-aware datetimes in the standard lib?</div><div><br></div><div>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.</div><div><br></div><div>Also, particularly as PEP 495 will introduce changes to tzinfo, that will presumable lead to changes in tzinfo implementations (like pytz, etc), it seems that if other changes are afoot, now is a good time to map out how they should be done.</div><div><br></div><div>Stuart, if you are listening:</div><div><br></div><div>IIUC, you want "timeline" arithmetic to work with pytz tzinfo-aware datetimes. To the extent that the current implementation functions in a  maybe "hacky", and at least inconvenient, way to achieve this.</div><div><br></div><div>So you are an obvious person to say what we might put in the stdlib that would facilitate cleaning all that up. If anything.</div><div><br></div><div>BTW: I'll at least take it as a given that we're not breaking backward compatibility, and that arithmetic needs to stay as fast as it currently is -- at least in the cases where it currently works.</div><div><br></div><div>-Chris</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><div><br></div><div><br></div><div> </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br>-- <br><div class="gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</div></div>